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.
Validating the form I am getting the error in the title:
Warning: array_merge(): Argument #2 is not an array in registration_status() (line 1108 of registration/registration.module).
I think it should be good to initialize $error to an array to prevent this.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2437823-1-fix-argument-not-array.patch | 476 bytes | hanoii |
Comments
Comment #1
hanoiiComment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedHi hanoii,
Thanks for the bug report! Looks like this is actually caused by an undefined
$errors
variable in the form validation hook itself. I'll look into getting it addressed.Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedFix has been committed; thanks again!