mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
HTTP Error 500 after upgrade to 7.13 in "Inbound Email Accounts" Setting #4908
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM-SuiteCRM#4908
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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. )
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?@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
@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.
@maurizioaiello commented on GitHub (Jan 3, 2023):
I confirm, it is working on 7.4!
@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