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.
i had made a test user account to try out this module. i when to my account >> edit >> mailing lists and i get a 500 error telling me to look at the log which gave me this
array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /home/theking2/public_html/drupal/includes/form.inc on line 849.
Comments
Comment #1
arturoramos CreditAttribution: arturoramos commentedDid you have any mailing lists already set up through the Admin when you tried this?
I cannot replicate the error but the only forms that are generated by the page you reference are the list signup forms. I think that with no lists setup, the module would feed the form hook a blank array.
Can you try setting up a couple of lists and seeing if you still get the error?
Comment #2
erifneerg CreditAttribution: erifneerg commentedsorry about not reply earlier, but yes, that was my problem.
Comment #3
arturoramos CreditAttribution: arturoramos commented