When using the Webform Simplenews Component and including the newsletter email field I ge a WSOD on form submission.

Remove the newsletter email field and the Webform submits successfully.

Comments

mropanen’s picture

Yes, and the PHP error message is:
PHP Fatal error: Call to undefined function _simplenews_user_load() in /path/to/oursite/sites/default/modules/webform_simplenews/webform_simplenews.inc on line 200

tcalin’s picture

It should be simplenews_load_user_by_mail($mail).
For Drupal 7 version _simplenews_user_load was renamed.

rvilar’s picture

Status: Active » Fixed

Fixed

Status: Fixed » Closed (fixed)

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

mitsuko’s picture

PHP Fatal error: Call to undefined function simplenews_load_user_by_mail() in path/to/oursite/modules/contrib/webform_simplenews/webform_simplenews.inc on line 198

The new function does not work for me...

My installation is :

  • Drupal 7.12
  • Simplenews 7.x-1.0-alpha1
  • Webform 7.x-3.13 (updated to webform 7.x-3.17 without success)
  • Webform Simplenews Component 7.x-1.x-dev
yuraosn’s picture