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.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | uc_simplenews--undefined-function-_simplenews_user_load.patch | 677 bytes | yuraosn |
Comments
Comment #1
mropanen commentedYes, 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
Comment #2
tcalin commentedIt should be
simplenews_load_user_by_mail($mail).For Drupal 7 version
_simplenews_user_loadwas renamed.Comment #3
rvilarFixed
Comment #5
mitsuko commentedPHP 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 :
Comment #6
yuraosn commentedhttps://www.drupal.org/node/1419452#comment-5542930
Patch