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

#1893 - Error: undefined index: interested_groups

Closed Bug? created by PrimatechWebDev Verified Purchase 8 years ago

I am receiving a lot of this error.

PHP Notice: Undefined index: interested_groups in /modules/SugarChimp/includes/classes/SugarChimp/Scheduler/UpdateSugarPersonFromMailchimp.php on line 403

How do I fix this?

  1. fanaticallabs member avatar

    Fanatical Labs Provider Affiliate

    8 years ago

    Hello, 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

    Let me know if you have any questions or concerns about doing that, thanks!

  2. PrimatechWebDev member avatar

    PrimatechWebDev Verified Purchase

    8 years ago

    I have that set already. Cron is sending my an email of about 100+ of that same error.

  3. chad member avatar

    Chad Hutchins Verified Purchase

    8 years ago

    Got it, sorry for all the emails!

    If you already changed the error_reporting in your php.ini, my guess is that there is a separate php.ini for your PHP CLI (command line interface) which is what the cron uses. If you find that php.ini file you can change that and the emails should stop.

    One way you may be able to find where the php.ini file for PHP CLI is by going to your command line and run this command: php -i > phpinfo.txt

    That will create a file named phpinfo.txt with your php info in it. Search for the line with "Loaded Configuration File" and it will show you the path to the php.ini file cron is using.

    Give this a try and let us know what you find. Thanks!

  4. PrimatechWebDev member avatar

    PrimatechWebDev Verified Purchase

    8 years ago

    It was using the standard config (/etc/php.ini). I added it to a commented line instead of the correct one. I have made the adjustment and will get back to you if there is an issue.

    • chad member avatar

      Chad Hutchins Verified Purchase

      8 years ago

      That makes sense now. Thanks for letting us know.

      I'm going to go ahead and close out this case, but definitely let us know if anything else comes up. Thanks!

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
  • "Nice product and nice team behind it. They helped us with everything we needed in order to get our system working as we wanted to."

    Read More Reviews