Closed (works as designed)
Project:
Signup
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2007 at 23:02 UTC
Updated:
10 Oct 2008 at 21:18 UTC
Over in the patch for http://drupal.org/node/154580, killes included the following change:
- $signup_form_data = serialize(array_merge($signup_form['signup_form_data'], $extra));
+ $signup_form_data = serialize(array_merge((array) $signup_form['signup_form_data'], $extra));
Apparently, sometimes $signup_form['signup_form_data'] isn't really an array. If that's true:
A) This needs more investigation into the causes and probably needs a better solution than just a cast.
B) This is a bug that's present in all versions and needs to be backported.
So, I'm submitting this as a separate issue so it can be dealt with independently of the event 5.2 porting and other refactoring going on at #154580.
Comments
Comment #1
gerhard killesreiter commentedI am still getting this error when submitting a signup enabled event. PHP 5.1.6
Comment #2
dwwI've never seen this. I'm guessing it might have been caused by a local theme_signup_user_form() implementation where
#tree = TRUE;was left off or something. Calling this a "by design" support request, since I've never seen (nor gotten any other reports of) this "bug".