SuiteCRM crashing when trying to create a task and trying to assign to someone

Hey I’m getting a crash when I try to create a task and assigned it to someone.

Here’s where I’m stuck when I create the task:

And when its done of loading, I get this:
Screenshot_18

Here’s the suitecrm error log:
[Mon Aug 28 15:57:33.923467 2023] [proxy_fcgi:error] [pid 752:tid 140637782537792] [client xxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: Undefined index: function in /var/www/crm.xxxxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354’, referer: https://crm.xxxxxxxx.pt/index.php?action=ajaxui
[Mon Aug 28 15:57:38.576039 2023] [proxy_fcgi:error] [pid 752:tid 140637782537792] [client xxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: Undefined index: function in /var/www/crm.xxxxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354’, referer: https://crm.xxxxxxxx.pt/index.php?action=ajaxui
[Mon Aug 28 17:03:46.645684 2023] [proxy_fcgi:error] [pid 2643:tid 140637690218048] (70007)The timeout specified has expired: [client 195.23.58.97:16931] AH01075: Error dispatching request to : (polling), referer: https://crm.xxxxxxxx.pt/index.php?action=ajaxui
[Mon Aug 28 17:23:19.407693 2023] [proxy_fcgi:error] [pid 753:tid 140637673432640] [client xxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: Trying to access array offset on value of type bool in /var/www/crm.xxxxxxxx.pt/public_html/modules/QCRM_Notifications/QCRM_SendNotification.php on line 202’, referer: https://crm.xxxxxxxx.pt/index.php?action=ajaxui
[Mon Aug 28 17:23:36.469612 2023] [proxy_fcgi:error] [pid 2643:tid 140637681825344] [client xxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: Undefined index: function in /var/www/crm.xxxxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354PHP message: PHP Notice: Trying to access array offset on value of type bool in /var/www/crm.xxxxxxxx.pt/public_html/modules/AOW_Actions/actions/actionCreateRecord.php on line 391PHP message: PHP Notice: Undefined index: rel_value in /var/www/crm.xxxxxxxx.pt/public_html/modules/AOW_Actions/actions/actionCreateRecord.php on line 427PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/modules/AOW_Actions/actions/actionCreateRecord.php on line 427PHP message: PHP Notice: Only variables should be passed by reference in /var/www/crm.xxxxxxxx.pt/public_html/modules/AOW_Actions/actions/actionCreateRecord.php on line 181’, referer: https://crm.xxxxxxxx.pt/index.php?action=ajaxui
[Mon Aug 28 17:23:48.832638 2023] [proxy_fcgi:error] [pid 2643:tid 140637681825344] [client xxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: Undefined index: function in /var/www/crm.xxxxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354’, referer: https://crm.xxxxxxxx.pt/index.php?action=ajaxui
[Mon Aug 28 17:28:29.822440 2023] [proxy_fcgi:error] [pid 753:tid 140637723788864] [client xxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) in /var/www/crm.xxxxxxxx.pt/public_html/include/MVC/SugarApplication.php on line 609’, referer: https://crm.xxxxxxxx.pt/index.php?module=Home&action=index
[Mon Aug 28 17:29:35.301874 2023] [proxy_fcgi:error] [pid 2643:tid 140637698610752] [client xxxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) in /var/www/crm.xxxxxxxx.pt/public_html/include/MVC/SugarApplication.php on line 609’, referer: https://crm.xxxxxxxx.pt/index.php?action=ajaxui
[Mon Aug 28 17:30:09.325916 2023] [proxy_fcgi:error] [pid 2643:tid 140637698610752] [client xxxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) in /var/www/crm.xxxxxxxx.pt/public_html/include/MVC/SugarApplication.php on line 609’, referer: https://crm.xxxxxxx.pt/index.php?module=SecurityGroups&action=ListView&return_module=SecurityGroups&return_action=ListView
[Mon Aug 28 17:31:44.104057 2023] [proxy_fcgi:error] [pid 2643:tid 140637698610752] [client xxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) in /var/www/crm.xxxxxxxx.pt/public_html/include/MVC/SugarApplication.php on line 609’, referer: https://crm.xxxxxxx.pt/index.php
[Mon Aug 28 17:37:28.141694 2023] [proxy_fcgi:error] [pid 2643:tid 140637681825344] [client xxxxxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) in /var/www/crm.xxxxxxxx.pt/public_html/include/MVC/SugarApplication.php on line 609’

Looks like you have a workflow running in the background that’s crashing out. Disable the workflow that has to do with Tasks, or fix it.

I disabled all workflows, and still got the same end.

Error log after disable workflows:

[Mon Sep 04 03:29:42.334354 2023] [proxy_fcgi:error] [pid 115321:tid 140417001563712] [client xxxxxxx] AH01071: Got error ‘Primary script unknown’
[Mon Sep 04 04:58:31.857171 2023] [proxy_fcgi:error] [pid 115322:tid 140417001563712] [client xxxxxxxxx] AH01071: Got error ‘Primary script unknown’
[Mon Sep 04 10:57:08.117541 2023] [proxy_fcgi:error] [pid 115321:tid 140417193797184] [client xxxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: Undefined index: function in /var/www/crm.xxxxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354’, referer: https://crm.xxxxxxxx.pt/index.php?action=ajaxui
[Mon Sep 04 11:02:59.510311 2023] [proxy_fcgi:error] [pid 122502:tid 140417386829376] [client xxxxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) in /var/www/crm.xxxxxx.pt/public_html/include/MVC/SugarApplication.php on line 609’, referer: https://crm.xxxxxxx.pt/index.php?action=ajaxui
[Mon Sep 04 11:02:59.511244 2023] [proxy_fcgi:error] [pid 122502:tid 140417378436672] [client xxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: Trying to access array offset on value of type bool in /var/www/crm.xxxxxxxx.pt/public_html/modules/QCRM_Notifications/QCRM_SendNotification.php on line 202’, referer: https://crm.xxxxxxxx.pt/index.php?action=ajaxui
[Mon Sep 04 11:03:15.392338 2023] [proxy_fcgi:error] [pid 122502:tid 140417378436672] [client xxxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: Undefined index: function in /var/www/crm.xxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354’, referer: https://crm.xxxxxxxx.pt/index.php?action=ajaxui
[Mon Sep 04 11:09:51.918000 2023] [proxy_fcgi:error] [pid 122502:tid 140417386829376] [client xxxxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: Undefined index: function in /var/www/crm.xxxxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354’, referer: https://crm.xxxxxxxx.pt/index.php?module=Schedulers&offset=1&stamp=1693818576064379500&return_module=Schedulers&action=DetailView&record=bd3764d1-c216-cf0b-3534-64a833b9bb0b

“permission denied” errors are typical in new installations where you didn’t get the file ownerships/permissions right. Maybe you see labels showing as “undefined” in several screens? You really must fix that.

And some of your errors are typical of PHP version problems. Make sure you state your SuiteCRM and PHP versions in every thread you start, it’s really helpful.

Im not getting the “undifined” message on my screen, I had that problem before, but I fixed it.

SuiteCRM Version: 7.13.1
PHP Version: 8.2.9

Stay inside the Matrix, Neo

Thank you for noticing that, changed the php version to 8.2.

New error log after restart apache2:

[Thu Sep 07 16:55:57.923791 2023] [proxy_fcgi:error] [pid 80156:tid 140258143372864] [client xxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: Undefined index: function in /var/www/crm.xxxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 354’, referer: https://crm.xxxxxx.pt/index.php?action=ajaxui
[Thu Sep 07 17:01:26.063096 2023] [proxy_fcgi:error] [pid 80156:tid 140258143372864] (70007)The timeout specified has expired: [client xxxxxxxxxxx] AH01075: Error dispatching request to : (polling), referer: https://crm.xxxxxxx.pt/index.php?action=ajaxui
[Thu Sep 07 17:02:16.230000 2023] [proxy_fcgi:error] [pid 80156:tid 140258168550976] [client xxxxxx] AH01067: Failed to read FastCGI header, referer: https://crm.xxxxx.pt/index.php?action=ajaxui
[Thu Sep 07 17:02:16.230051 2023] [proxy_fcgi:error] [pid 80156:tid 140258168550976] (104)Connection reset by peer: [client xxxxxxx] AH01075: Error dispatching request to : , referer: https://crm.xxxxxxxxx.pt/index.php?action=ajaxui

Try PHP 7.4 works like a charm for me. Still find a lot of compatibility issues with PHP8. Not sure if that is exactly your problem, but worth the 5 minutes to try.

Thanks for the advice! But still got the same end.

Error log after changing it to php 7.4:

[Fri Sep 08 03:00:35.938104 2023] [proxy_fcgi:error] [pid 6653:tid 140235539162688] [client xxxxxxxx] AH01071: Got error ‘Primary script unknown’
[Fri Sep 08 06:44:34.887985 2023] [proxy_fcgi:error] [pid 6653:tid 140235639875136] [client xxxxxxxx] AH01071: Got error ‘Primary script unknown’
[Fri Sep 08 06:44:35.151440 2023] [authz_core:error] [pid 6653:tid 140235623089728] [client xxxxxxx] AH01630: client denied by server configuration: /var/www/crm.xxxxxxxx.pt/public_html/server-status
[Fri Sep 08 12:48:40.396214 2023] [proxy_fcgi:error] [pid 766:tid 140162265826880] (70007)The timeout specified has expired: [client xxxxxxxx] AH01075: Error dispatching request to : (polling), referer: https://crm.xxxxxxx.pt/index.php?action=ajaxui
[Fri Sep 08 13:21:36.378125 2023] [proxy_fcgi:error] [pid 766:tid 140162265826880] [client xxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: Undefined variable: mod_strings in /var/www/crm.xxxxxxxxx.pt/public_html/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 395PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 395PHP message: PHP Notice: Undefined variable: mod_strings in /var/www/crm.xxxxxxxxxx.pt/public_html/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 395PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxxx.pt/public_html/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 395’, referer: https://crm.xxxxxxxxx.pt/index.php?action=Login&module=Users&login_module=Administration&login_action=index
[Fri Sep 08 13:24:04.312392 2023] [proxy_fcgi:error] [pid 766:tid 140162265826880] [client xxxxxxxxxxx] AH01071: Got error ‘PHP message: PHP Notice: Undefined index: ext2 in /var/www/crm.xxxxxxxxxx.pt/public_html/include/InlineEditing/InlineEditing.php on line 526’, referer: https://crm.xxxxxxxxxxx.pt/index.php?action=ajaxui

Just posting in order to get to the newest topics.

This might not be related to your issue
But if I saved project by converting from a template with consider working days checked
It goes to an infinite loop of going through the days and timed out. Try to save the project with consider working days unchecked (if it’s possible in your case)

Hello abuzarfaris, thank you for looking out, unfortunelly, that’s not my problem. Did you get it solved?

Got a new error log, I’m also using quickcrm, I tried to create a task and assigned it to someone, and got this log:
[Fri Sep 15 12:31:13.363847 2023] [proxy_fcgi:error] [pid 131365:tid 140162416895552] [client 85.240.179.214:60806] AH01071: Got error ‘PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxx.pt/public_html/include/php-sql-parser.php on line 778PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/php-sql-parser.php on line 779PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/php-sql-parser.php on line 780PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/php-sql-parser.php on line 781PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 783PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 784’
[Fri Sep 15 12:31:23.543655 2023] [proxy_fcgi:error] [pid 131366:tid 140162467251776] [client 85.240.179.214:60809] AH01071: Got error ‘PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/php-sql-parser.php on line 778PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 779PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 780PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 781PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 783PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/php-sql-parser.php on line 784PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 778PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 779PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/php-sql-parser.php on line 780PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/php-sql-parser.php on line 781PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/php-sql-parser.php on line 783PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 784’
[Fri Sep 15 12:31:42.374528 2023] [proxy_fcgi:error] [pid 131366:tid 140162467251776] [client 85.240.179.214:60810] AH01071: Got error ‘PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 778PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/php-sql-parser.php on line 779PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/php-sql-parser.php on line 780PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 781PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/php-sql-parser.php on line 783PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxx.pt/public_html/include/php-sql-parser.php on line 784PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 778PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 779PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 780PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 781PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 783PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/crm.xxxxxxxxxxx.pt/public_html/include/php-sql-parser.php on line 784’

I think the important error to be looking for is a PHP Fatal Error