Open KicknGuitar opened 7 years ago
Not sure why no one has addressed this yet, it's a simple fix. I had the same problem and it appeared to be caused by the $mc_interests variable being empty. So, take the code block for the foreach loop, and wrap an if statement around it, like so:
if (!empty($mc_interests)) { // foreach loop's code goes here }
After turning on the extension's scheduled job (pull from Mailchimp only), my cron job notification sent me an email filled with this guy:
Line 802 in synch.php has the following,
Is my lack of PHP knowledge showing? Anything I should troubleshoot for this? I can't tell if this has any affect on the scheduled job (manual sync worked fine).