更新:这两篇文章详细讲解了如何修改这个错误:https://github.com/salesagility/SuiteCRM/pull/6416/;https://community.suitecrm.com/t/error-logged-in-suitecrm-log-and-php-error-log-when-click-on-view-change-log/72857
在SuiteCRM中可能经常遇到一些报错,其中一些报错如下:“[FATAL] SugarBean::populateDefaultValues $field_defs should be an array”
Mon Jan 25 12:14:11 2021 [764][2b5eb069-47dc-e9ff-bff9-600e326c8d56][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Mon Jan 25 12:44:27 2021 [2223][b0c43f67-936d-bead-20a5-5ffd1dab9adf][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Mon Jan 25 13:12:27 2021 [3974][dda9dc5b-2916-2f24-ac00-5ffbbd6711a0][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Mon Jan 25 13:21:52 2021 [4360][dda9dc5b-2916-2f24-ac00-5ffbbd6711a0][FATAL] Exception handling in /var/www/clients/client1/web1/web/include/MVC/Controller/SugarController.php:400
Mon Jan 25 13:21:52 2021 [4360][dda9dc5b-2916-2f24-ac00-5ffbbd6711a0][FATAL] Exception in Controller: Subpanel was not defined
Mon Jan 25 13:21:52 2021 [4360][dda9dc5b-2916-2f24-ac00-5ffbbd6711a0][FATAL] backtrace:
#0 /var/www/clients/client1/web1/web/include/SubPanel/SubPanelViewer.php(61): sugar_die('Subpanel was no...')
#1 /var/www/clients/client1/web1/web/include/MVC/Controller/SugarController.php(1087): require_once('/var/www/client...')
#2 /var/www/clients/client1/web1/web/include/MVC/Controller/SugarController.php(468): SugarController->handleActionMaps()
#3 /var/www/clients/client1/web1/web/include/MVC/Controller/SugarController.php(373): SugarController->process()
#4 /var/www/clients/client1/web1/web/include/MVC/SugarApplication.php(113): SugarController->execute()
#5 /var/www/clients/client1/web1/web/index.php(52): SugarApplication->execute()
#6 {main}
Mon Jan 25 14:40:08 2021 [1078][cf141612-f167-d9aa-e9f0-5ffd0b0f8be2][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Mon Jan 25 14:51:05 2021 [1709][1][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Mon Jan 25 14:55:29 2021 [1924][bae44ff2-adc5-55ef-2a2f-5fc84ec04887][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Mon Jan 25 14:56:35 2021 [1924][a5ffeb82-4979-4ab4-a4cf-5ffd21f3a1a0][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
对于该报错官方社区有如下回复:
在我的系统中,每次运行QR&R都会得到其中之一,我认为这不是问题。
我不熟悉其他错误,如果不经常发生,我建议忽略它们,如果经常发生,请搜索有关它们的特定信息。
总结一下:官方可能认为这并不是一个问题,所以可以忽略,如果可能这个问题会引起其他的报错,或者SuiteCRM系统有问题,可以再参考:https://community.suitecrm.com/t/errors-on-fresh-installation-of-suitecrm-7-11-15/73682/7
SuiteCRM 全功能,不限用户
SuiteCRM 与 Salesforce 和 Dynamics 一样强大,具有更高的技术独立性和定制性。业务咨询与服务,请联系:188-9654-1629
我们提供的服务包括:插件开发、主题开发、安装和配置、CRM升级、CRM部署、支持与维护、用户培训…