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.

CommentFileSizeAuthor
#1 2437823-1-fix-argument-not-array.patch476 byteshanoii
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hanoii’s picture

Status: Active » Needs review
FileSize
476 bytes
Anonymous’s picture

Title: Argument #2 is not an array in registration_status() » Undefined $errors variable in form validation hook.
Assigned: Unassigned »
Priority: Minor » Normal
Status: Needs review » Needs work

Hi 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.

  • 6c1 committed a938d8e on 7.x-1.x
    Issue #2437823 by hanoii: Undefined $errors variable in form validation...
Anonymous’s picture

Status: Needs work » Closed (fixed)

Fix has been committed; thanks again!