I upgraded my Mailchimp library to the 1.0.8 version and updated the Mailchimp module as described in the documentation.
After upgrade, I'm getting all these errors in Watchdog regarding this:

Notice: Undefined index: placeholder in mailchimp_signup_subscribe_form() (line 333 of ... sites/all/modules/mailchimp/modules/mailchimp_signup/mailchimp_signup.module).

Can anyone help?

I'm using PHP 5.6 on Drupal 7.56, and Mailchimp was running smoothly until this latest upgrade.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TynanFox created an issue. See original summary.

ruscoe’s picture

This patch should fix it.

TynanFox’s picture

Works like a charm for me!

Cedric Web’s picture

I think I resolved the issue without the patch, I went to the Signup form (Web services > Mailchimp > Signup forms > edit) then just resaved it. Emptied the cache, tested it and it works for me, no more error, everything seems fine. Hope it helps!

  • ruscoe committed 22cbf29 on 7.x-4.x
    Issue #2916875 by ruscoe, TynanFox, thevibe27: Undefined Index:...
ruscoe’s picture

Status: Needs review » Fixed
efruin’s picture

#4 worked for me too. Didn't install patch.

Status: Fixed » Closed (fixed)

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

mobil_maniak’s picture

#4 worked . thanks
Notice: Undefined index: placeholder v mailchimp_signup_subscribe_form()

Drupal 7.56
Mailchimp 7.x-4.9

hkovacs’s picture

#4 worked for me. didnt use patch.

juankvillegas’s picture

Yes, #4 fixes the problem, but the code still needs a modification to avoid this. So "Closed (fixed)" is not the correct status for this issue.

innovationsat’s picture

#4 worked also for me without patching! Just resave the signup form!

jurgen.cottignie@gmail.com’s picture

I'm a noob in Drupal, but I have the same problem on our website. Can someone please explain what I have to do with the patch-file?

This is the site wil the error. http://www.gezinsbondknokke.be/
Thanks in advantage;