warning: Invalid argument supplied for foreach() in /hermes/web10/b2808/moo.aveotsd2ucom/drupcomtest/modules/mailchimp-6.x-2.3/mailchimp/mailchimp.module on line 509.
argument on line 509
foreach ($lists as $list) {
if (!empty($list['EMAIL'])) {
$success = FALSE;
// include interest groups
if (isset($list['interest_groups_' . $list['list']->id]) && is_array($list['interest_groups_' . $list['list']->id])) {
foreach($list['interest_groups_' . $list['list']->id] as $key => $group) {
$list['GROUPINGS'][] = array('id' => $key, 'groups' => is_array($group) ? implode(', ', array_filter($group)) : $group);
}
}
as a side note i have had the same error from version 2.4
Comments
Comment #1
levelos CreditAttribution: levelos commentedDid you run update.php after upgrading the newest version of the module? You would need to. And/or re-save your module settings.
Comment #2
javier1968 CreditAttribution: javier1968 commentedSame problem here, yes I did update.php but to no avail, any ideas?
Cheers
http://www.tyndall.ac.uk/mailchimp/subscribe
Comment #3
human1101 CreditAttribution: human1101 commentedSorry about getting back so late, i ended up going with the simplenews module as it better fit my requirements
thanks anyway