#814 - php notices and errors in SuiteCRM
I am getting lots of notices in apache concerning the following and i feel its slows down loading
PHP Notice: Undefined property: Lead::$module_id in /var/www/cccc/modules/SugarChimp/includes/classes/SugarChimp/LogicHook.php on line 96 and 181, referer: http://cccc/ccc2/index.php?action=ajaxui [error] c PHP Notice: Undefined index: sugarchimp_logger in /var/www/cccc/modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://cccc/ccc2/index.php?action=ajaxui
While i was unable to disable ajax in the admin systems settings area, i have added SugarChimp to the disabled ajax modules in the config.php
I am using suiteCRM 7.1.2.
10 years ago
Hi Erik, notices in PHP applications aren't uncommon. In your production CRM environment, we recommend you turn off PHP Notices in your php.ini file. This will clear out the notices. You can change the error_reporting to something like this:
error_reporting = E_ALL & ~E_NOTICE
10 years ago
[Sun Sep 28 14:40:38 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in /modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php?action=ajaxui [Sun Sep 28 14:40:38 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in /modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php?action=ajaxui [Sun Sep 28 14:40:38 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in /modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php?action=ajaxui [Sun Sep 28 14:40:38 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php?action=ajaxui [Sun Sep 28 14:40:38 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in /modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php?action=ajaxui [Sun Sep 28 14:40:38 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in /modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php?action=ajaxui [Sun Sep 28 14:40:38 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in /modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php?action=ajaxui [Sun Sep 28 14:40:38 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in /modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php?action=ajaxui [Sun Sep 28 14:40:51 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in /modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php [Sun Sep 28 14:40:51 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in /modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php [Sun Sep 28 14:42:12 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in/modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php [Sun Sep 28 14:42:12 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php [Sun Sep 28 14:42:12 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in /modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php [Sun Sep 28 14:42:12 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in /modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php [Sun Sep 28 14:42:12 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in /modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php [Sun Sep 28 14:42:12 2014] [error] [client 192.168.88.124] PHP Notice: Undefined index: sugarchimp_logger in /modules/SugarChimp/includes/classes/SugarChimp/Helper.php on line 30, referer: http://hasa/crm2/index.php Last lines of Only show lines with text
These are all errors not notices, i turned the module of for now to gain speed back again. Like to have some solution that this variable get defined. Can i add a line to config_overide.php to surpress this error and get my speed back?
10 years ago
I see that it says "error", but that's just how it's being written to your logs. The messages are "PHP Notices". To stop those from happening you need change your PHP error_reporting settings. This is in your php.ini file on the server.
I'll try to get out a patch soon that will clear this notice up. I'll let you know here when that is updated. Thanks!
10 years ago
Hi there, just wanted to let you know that I just uploaded a new release that removes the PHP notice that you're seeing. Simply grab the latest upload from your purchases page. I would still recommend removing PHP notices from your php.ini in your production environment.
Let me know how the new package goes. Thanks!
10 years ago
Hi Erik, I'm going to go ahead and close this case. Feel free to respond here or create a new one if everything hasn't been resolved. Thanks!