Any user that has access to signups gets this error message at the top of the page:

warning: Invalid argument supplied for foreach() in /home/webusers/mdowsett/dowsett.ca/hockey/modules/signup/signup.module on line 283.

Line 283 in the signup.module is unaltered and reads:
foreach ($form_data as $key => $value) {

I reinstalled the entire signup module and the error still persists.

Any ideas?

Comments

hunmonk’s picture

Assigned: Unassigned » hunmonk
Status: Active » Fixed

guessing this is because you've deleted all the fields from the signup form. not a problem. i just committed a fix for both 4.6 and HEAD that will check for this and prevent that error. probably will take the system awhile to update the download package, so i'd download it tomorrow afternoon and try the patched module. let me know if the problem persists. marking as fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)
mdowsett’s picture

Version: » 4.6.x-1.x-dev
Status: Closed (fixed) » Active

The "latest version" listed on the downloads says it was there since Sept 21...and your posting was the 25th. So where is this new fixed version?

And would all I have to do is replace the signup.module file?

thx

hunmonk’s picture

Status: Active » Closed (fixed)

the .tar file should have been updated by now. you can always get it from the cvs repo:

http://cvs.drupal.org/viewcvs/drupal/contributions/modules/signup/

be sure to look at the right branch! :)