Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Was getting:
Notice: Undefined index: interest_groups in _mailchimp_lists_subscription_has_changed() (line 337
and
Warning: Invalid argument supplied for foreach() in _mailchimp_lists_subscription_has_changed() (line 337
Simple enough fix, just need to wrap all of that foreach ($choices['interest_groups'] as $interest_group)
loop in if (isset($choices['interest_groups']))
Comment | File | Size | Author |
---|---|---|---|
#2 | isset-check_2747371.patch | 2.14 KB | jalpesh |
Comments
Comment #2
jalpesh CreditAttribution: jalpesh as a volunteer and at Cybage Software Pvt Ltd. commentedCan you please verify the same with attach patch.
Comment #3
scotwith1tI think this needs a re-roll? Doesn't apply and there seem to have been many changes to the -dev branch since...
Comment #4
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedno longer applies
Comment #5
samuel.mortensonI'm closing this as outdated, it looks like the code in question isn't in the repository anymore, unless I'm mistaken. Please re-open if so!