by Fanatical Labs

Save Your Team Countless Hours. SugarChimp syncs your lists in both directions so you can work in your preferred app. Segment and group your Mailchimp subscribers based on Sugar data so you can market to the right people at the right time. Compatible with all versions and editions of Sugar and SuiteCRM. Created by Fanatical Labs, 2023 SugarCRM Partner Award Winner.

Free 30 day trial
Try it Now

By clicking you consent to share your profile with the developer

#814 - php notices and errors in SuiteCRM

Closed Bug? created by erik2 9 years ago

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.

  1. fanaticallabs member avatar

    Fanatical Labs Provider Affiliate

    9 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

    • erik2 member avatar

      erik2

      9 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?

    • fanaticallabs member avatar

      Fanatical Labs Provider Affiliate

      9 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!

  2. fanaticallabs member avatar

    Fanatical Labs Provider Affiliate

    9 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!

  3. fanaticallabs member avatar

    Fanatical Labs Provider Affiliate

    9 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!

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
Rating
  • "We do a lot of highly-segmented outbound marketing and SugarChimp is exactly what we needed. The list and field syncing are great, and it allows us to do more sophisticated campaigns that exactly target certain Lead profiles in Sugar. The SugarChimp team is also really great, and they are totally committed to our success."

    Read More Reviews