Several people reported this error message on running update.php in the massive issue that launched this branch (e.g. http://drupal.org/node/29568#comment-2583014), but I just ran the update and it looks like it was never addressed.

The problem seems to be that module_enable() wants an array and signup_update_6200() is giving it a string. Simply casting the module name as an array makes the error message go away. Local patch against the 6.x-2.x-dev branch attached (sorry, I don't have CVS access).

CommentFileSizeAuthor
signup-update-error.patch505 bytesmasondib

Comments

dww’s picture

Looks reasonable. Thing is, I'm not maintaining the 6.x-2.* branch, and apparently, neither is joachim. :/ There's a huge list of fixes that are waiting to be committed, but joachim seems to have lost interest. The 6.x-2.* is effectively abandoned at this point, sorry to say...

Side note, this isn't "casting":

-  module_enable('signup_basic_form');
+  module_enable(array('signup_basic_form'));

That's actually defining the value as an array. ;) "casting" is when you put a type in parens in front of something, like so:

  $foo = 'bananas';
  $bar = (int)$foo;
  // $bar is the value of $foo cast to an int, and is now the integer 0...

Cheers,
-Derek

masondib’s picture

Thanks for the quick response, Derek (and the casting clarification -- I'm still learning and your advice is appreciated).

I'm sorry to hear this branch is abandoned, as its integration with webform seemed to offer the best solution for my use case. Is there any officially supported way to have a signup for one main event and several radio/checkbox options for that event all on one form?