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.
Why am I suddenly getting this Warning my sight when I'm logged out as an anonymous user?
Warning: Invalid argument supplied for foreach() in mailchimp_lists_auth_newsletter_form() (line 399 of /home8/kpcprodu/public_html/americanwrc/sites/all/modules/mailchimp/modules/mailchimp_lists/mailchimp_lists.module).
I was not getting this last night all I did this morning was enable the Log in using OpenID module.
Comments
Comment #1
nathancollins44 CreditAttribution: nathancollins44 commentedOK......... this is wired... I went in and disabled the Log in using OpenID module and then the Warning went away. I then re-enabled the Log in using OpenID module and I do not see the Warning.
I no longer see this Warning as an anonymous user, so I guess it fixed it self some how...
Comment #2
levelos CreditAttribution: levelos commentedComment #4
damiandab CreditAttribution: damiandab commentedI have the same problem, tested with lastest stable version and dev version :(
Comment #5
damiandab CreditAttribution: damiandab commentedI get also another warning :
Has someone similar problem?
Comment #6
damiandab CreditAttribution: damiandab commentedI could find an issue about above problem http://drupal.org/node/1220684
But , how can I see , it's still not fixed :(
Comment #7
damiandab CreditAttribution: damiandab commentedNo one has the same problem ? It make impossible to use this module!
Comment #8
levelos CreditAttribution: levelos commentedThat error is due to you not being able to connect the MailChimp API. It's been discussed in several threads, and is not an issue specific issue to this module. The recommended 7x.-2.x branch addresses many of the performance issues.
Comment #9
netmate CreditAttribution: netmate commentedI have the same problem.
I had it in 2.4.
Then I tried to update to 2.6
I got the following message:
mailchimp_lists module
Update #7202
Failed: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'delta' cannot be null: UPDATE {block} SET delta=:db_update_placeholder_0 WHERE (bid = :db_condition_placeholder_0) ; Array ( [:db_update_placeholder_0] => [:db_condition_placeholder_0] => 63 ) in mailchimp_lists_update_7202() (line 250 of /home/mysterys/public_html/sites/all/modules/mailchimp/modules/mailchimp_lists/mailchimp_lists.install).
I still get the same message but on another row.
It is due to $mc_list = mailchimp_get_list($list->mc_list_id); returns nothing
This seemes to be a major problem, since the search "Warning: Invalid argument supplied for foreach() in mailchimp_lists_auth_newsletter_form() (line" returned 481 hits in sites on google.
(Our site is multilingual and this only shows on one language out of three.)
Before the module worked fine. This issue has just arrived suddenly.
Any suggestions?
Comment #10
netmate CreditAttribution: netmate commented! active right!?
Comment #11
levelos CreditAttribution: levelos commentedThis ticket is about an invalid argument warning, as the title indicates. That has been fixed. Please do not introduce second and third issues in the same tickets. The issue about block deltas has been extensively addressed in a second ticket. The issue about API connectivity it not at all related and has been addressed. Thanks and sorry for the curtness, but we're trying our best to manage this ticket and respond to legitimate bugs as best we can. Thanks.