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.

Free Trial

By clicking you consent to share your profile with the developer

#1893 - Error: undefined index: interested_groups

Closed Bug? created by PrimatechWebDev Verified Purchase 6 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

    6 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

    6 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

    6 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

    6 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

      6 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...
Rating
Rating
  • "SugarChimp is exactly what we needed, it syncs nicely between MailChimp and Sugar. The added MailChimp dashlet is very sophisticated. Works great – thank you!"

    Read More Reviews