When I fill out the form and press "Sign up now" I get a blank white page.

My setup:
- Drupal 7.32
- Mailchimp 7.x-3.2
- Webform 7.x-4.4
- Webform Mailchimp 7.x-2.0-beta1+1-dev

No log message was created.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jasonglisson’s picture

Same issue.

My setup:
- Drupal 7.35
- Mailchimp 7.x-3.2
- Webform 7.x-4.4
- Webform Mailchimp 7.x-2.0-beta1+1-dev

tnanek’s picture

Getting the same thing with more recent versions...

  • Drupal 7.36
  • Mailchimp 7.x-3.2
  • Webform 7.x-4.7
  • Webform Mailchimp 7.x-2.0-beta1 (as labeled by drush)

On looking at the apache error log, I'm noticing this line for each white screen of death being added:

PHP Fatal error: Call to undefined method DrupalMailchimp::listSubscribe() in /.../modules/webform_mailchimp/webform_mailchimp.module on line 141

On referring to the mailchimp module (includes/mailchimp.inc), I see that DrupalMailchimp extends Mailchimp, and there is no listSubscribe method defined in there, which thus leads me to assume the issue is in the mailchimp library being updated since this was written.

tnanek’s picture

Okay, so now I'm getting an error message from the API call (and a search for that error message brings up this issue) -- next try will be using the dev version of Mailchimp, but I wanted to send this upstream, since using the raw API call is pointless since we have the dependancy on a module which ideally provides it.

Raw watchdog entry:

An error occurred subscribing tnanek+tester@gmail.com to list . "MailChimp API call to lists/subscribe failed: Internal Server Error"

Patch attached.

tnanek’s picture

And now with the mailchimp-3.x-dev version installed, I am getting the following watchdog entry, still no effects on the mailchimp end of things, even after a cron execution.

1 Mailchimp subscription successful for tnanek@gmail.com

, despite having four mailchimp lists on the webform in question, all checked.

kerasai’s picture

FYI, the project page explicitly says, as in bold letters ;-), that it's only compatible with the Drupal MailChimp project at 7.x-2.x.

See issue #2301419: Support Mailchimp module 7.x-3.x branch for adding support for MailChimp project at 7.x-3.x.

tnanek’s picture

I'd say this particular issue is resolved, for me anyway, thanks to kerasai's comment, not sure about either mori or tk421jag.

Not displaying my patch now as its not related to this issue anymore.

joneldesouza’s picture

the patch in comment #6 worked for me