HTTP Error 500 after upgrade to 7.13 in "Inbound Email Accounts" Setting #4908

Closed
opened 2026-02-20 16:26:03 -05:00 by deekerman · 5 comments
Owner

Originally created by @maurizioaiello on GitHub (Jan 2, 2023).

If your issue is still applicable in 7.12.x, please create the issue following the template below -->

Issue

After upgrade to 7.13 from 7.12.8, following the compatibility matrix, going into User's "Inbound Email Accounts" there is the possibility to set gmail map server for example. Doing that, selecting "Test Connection Setting", everything is ok.

When "Save" button is clicked a blank screen appears, with an HTTP ERROR 500.

Expected Behavior

It should save the setting

Actual Behavior

When "Save" button is clicked a blank screen appears, with an HTTP ERROR 500.

Possible Fix

No idea

Steps to Reproduce

A brief summary of the apache2 log follows:

Mon Jan 02 12:49:04.889497 2023] [proxy_fcgi:error] [pid 337591] [client 10.20.66.100:63216] AH01071: Got error 'p on line 184PHP message: PHP Warning: Undefined array key “link” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “customCode” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “tabindex” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/Smarty/plugins/function.sugar_field.php on line 104PHP message: PHP Warning: Undefined array key “link” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “bold” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “bold” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “link” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “customCode” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “tabindex” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/Smarty/plugins/function.sugar_field.php on line 104PHP message: PHP Warning: Undefined array key “link” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “bold” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “bold” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “link” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “customCode” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “tabindex” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/Smarty/plugins/function.sugar_field.php on line 104PHP message:

Context

It is a high priority, blocking problem.

Your Environment

  • SuiteCRM Version used: 7.13.0
  • Browser name and version tried with chrome, safari, firefox all within the compatibility matrix
  • Environment name and version mariadb 10.6, php 8.0 with fpm module, apache 2.4.52
  • Operating System and version: Ubuntu 20.04
Originally created by @maurizioaiello on GitHub (Jan 2, 2023). If your issue is still applicable in 7.12.x, please create the issue following the template below --> #### Issue After upgrade to 7.13 from 7.12.8, following the compatibility matrix, going into User's "Inbound Email Accounts" there is the possibility to set gmail map server for example. Doing that, selecting "Test Connection Setting", everything is ok. When "Save" button is clicked a blank screen appears, with an HTTP ERROR 500. #### Expected Behavior It should save the setting #### Actual Behavior When "Save" button is clicked a blank screen appears, with an HTTP ERROR 500. #### Possible Fix No idea #### Steps to Reproduce A brief summary of the apache2 log follows: Mon Jan 02 12:49:04.889497 2023] [proxy_fcgi:error] [pid 337591] [client 10.20.66.100:63216] AH01071: Got error 'p on line 184PHP message: PHP Warning: Undefined array key “link” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “customCode” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “tabindex” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/Smarty/plugins/function.sugar_field.php on line 104PHP message: PHP Warning: Undefined array key “link” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “bold” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “bold” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “link” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “customCode” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “tabindex” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/Smarty/plugins/function.sugar_field.php on line 104PHP message: PHP Warning: Undefined array key “link” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “bold” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “bold” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “link” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “customCode” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184PHP message: PHP Warning: Undefined array key “tabindex” in /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/Smarty/plugins/function.sugar_field.php on line 104PHP message: #### Context It is a high priority, blocking problem. #### Your Environment <!--- Include as many relevant details about the environment you experienced the bug in --> * SuiteCRM Version used: 7.13.0 * Browser name and version tried with chrome, safari, firefox all within the compatibility matrix * Environment name and version mariadb 10.6, php 8.0 with fpm module, apache 2.4.52 * Operating System and version: Ubuntu 20.04 *
Author
Owner

@clemente-raposo commented on GitHub (Jan 3, 2023):

Hi @maurizioaiello,

Thank you for reporting this issue.

Could you try setting the following error reporting on you php.ini? (This is a temporary work around. We are looking into fixing all the notices and warnings from the legacy code. )

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE & ~E_WARNING

I'm not sure the logs about are related with the error you are seeing as many of them are related with Dashlets display.
Do you have any errors on your suitecrm.log?

@clemente-raposo commented on GitHub (Jan 3, 2023): Hi @maurizioaiello, Thank you for reporting this issue. Could you try setting the following error reporting on you php.ini? (This is a temporary work around. We are looking into fixing all the notices and warnings from the legacy code. ) ``` error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE & ~E_WARNING ``` I'm not sure the logs about are related with the error you are seeing as many of them are related with Dashlets display. Do you have any errors on your `suitecrm.log`?
Author
Owner

@maurizioaiello commented on GitHub (Jan 3, 2023):

Hi and thanks for the answer. Here are the errors (only fatal):

[03-Jan-2023 13:37:54 Europe/Berlin] PHP Fatal error: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, array given in /var/www/suitecrm.mydomain.com/SuiteCRM_713/modules/InboundEmail/Save.php:90
Stack trace:
#0 /var/www/suitecrm.mydomain.com/SuiteCRM_713/modules/InboundEmail/Save.php(90): trim()
#1 /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/MVC/View/SugarView.php(824): include_once('...')
#2 /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/MVC/View/views/view.classic.php(72): SugarView->includeClassicFile()
#3 /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/MVC/View/SugarView.php(210): ViewClassic->display()
#4 /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/MVC/Controller/SugarController.php(432): SugarView->process()
#5 /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/MVC/Controller/SugarController.php(363): SugarController->processView()
#6 /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/MVC/SugarApplication.php(101): SugarController->execute()
#7 /var/www/suitecrm.mydomain.com/SuiteCRM_713/index.php(52): SugarApplication->execute()
#8 {main}
thrown in /var/www/suitecrm.mydomain.com/SuiteCRM_713/modules/InboundEmail/Save.php on line 90

@maurizioaiello commented on GitHub (Jan 3, 2023): Hi and thanks for the answer. Here are the errors (only fatal): [03-Jan-2023 13:37:54 Europe/Berlin] PHP Fatal error: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, array given in /var/www/suitecrm.mydomain.com/SuiteCRM_713/modules/InboundEmail/Save.php:90 Stack trace: #0 /var/www/suitecrm.mydomain.com/SuiteCRM_713/modules/InboundEmail/Save.php(90): trim() #1 /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/MVC/View/SugarView.php(824): include_once('...') #2 /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/MVC/View/views/view.classic.php(72): SugarView->includeClassicFile() #3 /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/MVC/View/SugarView.php(210): ViewClassic->display() #4 /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/MVC/Controller/SugarController.php(432): SugarView->process() #5 /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/MVC/Controller/SugarController.php(363): SugarController->processView() #6 /var/www/suitecrm.mydomain.com/SuiteCRM_713/include/MVC/SugarApplication.php(101): SugarController->execute() #7 /var/www/suitecrm.mydomain.com/SuiteCRM_713/index.php(52): SugarApplication->execute() #8 {main} thrown in /var/www/suitecrm.mydomain.com/SuiteCRM_713/modules/InboundEmail/Save.php on line 90
Author
Owner

@clemente-raposo commented on GitHub (Jan 3, 2023):

Hi @maurizioaiello,

Thank you for the logs.

Our QA team has also been able to replicate. It is happening in php 8, 7.4 should work ok.

We are currently looking into it.

@clemente-raposo commented on GitHub (Jan 3, 2023): Hi @maurizioaiello, Thank you for the logs. Our QA team has also been able to replicate. It is happening in php 8, 7.4 should work ok. We are currently looking into it.
Author
Owner

@maurizioaiello commented on GitHub (Jan 3, 2023):

I confirm, it is working on 7.4!

@maurizioaiello commented on GitHub (Jan 3, 2023): I confirm, it is working on 7.4!
Author
Owner

@SuiteBot commented on GitHub (Jan 3, 2023):

This issue has been mentioned on SuiteCRM. There might be relevant details there:

https://community.suitecrm.com/t/http-error-500-on-save-setting-inbound-email-account/87476/13

@SuiteBot commented on GitHub (Jan 3, 2023): This issue has been mentioned on **SuiteCRM**. There might be relevant details there: https://community.suitecrm.com/t/http-error-500-on-save-setting-inbound-email-account/87476/13
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#4908
No description provided.