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.
Hi, when an anonymous user subscribes to a mailing list, I receive the following error message:
Notice: Undefined variable: admin in mailing_list_subscription_form_submit() (line 505 of C:\wamp\www\gwnh\sites\all\modules\mailing_list\mailing_list.module).
When a user is logged in, there is no issue.
Comment | File | Size | Author |
---|---|---|---|
#3 | set_admin.patch | 424 bytes | IntoTheWoods |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedI'm getting the same error. The user is still added to the site, but the error pops up.
Comment #2
thewashman CreditAttribution: thewashman commentedSame message here. Using on a non-member based site. Everybody gets this error. Any patch?
Comment #3
IntoTheWoods CreditAttribution: IntoTheWoods commentedHere you go.
Comment #4
thewashman CreditAttribution: thewashman commentedWorks Perfect.
Thank you!
Comment #5
IntoTheWoods CreditAttribution: IntoTheWoods commentedYou're welcome, but don't close the issue until the patch gets reviewed and committed by the maintainer.
Comment #7
manuel.adanCommitted. Closing some old issues.