if an exception is thrown during $mc_lists->getInterests() it is not caught and in my experience would bring the site down. I'll attach a patch that wraps in a try/catch block.

Comments

aklump created an issue. See original summary.

aklump’s picture

StatusFileSize
new911 bytes
aklump’s picture

If you wanted to roll this other one in at the same time, it deals with almost the same lines of code: https://www.drupal.org/project/mailchimp/issues/2835243

lennart’s picture

I can confirm this issue

aklump’s picture

Version: 7.x-5.0 » 7.x-5.1
Priority: Major » Critical
StatusFileSize
new1.1 KB

Making this critical as it takes the prod site down when it happens. I'm attaching an updated patch to work with version 7.x-5.1.

  • ruscoe committed 123230b on 7.x-5.x authored by aklump
    Issue #2928786 by aklump: mailchimp_interest_groups_form_elements() may...
ruscoe’s picture

Status: Active » Fixed

Thanks for this. I've committed your first patch to deal with the critical issue.

I see the other issue you mentioned in #3 and will get that into an upcoming release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.