warning: Invalid argument supplied for foreach() in /home/cyberfan/htdocs/modules/notifications_team/notifications_team.module on line 233.
which is this:
foreach ($form['options']['#value'] as $uid => $name) {
any ideas???
warning: Invalid argument supplied for foreach() in /home/cyberfan/htdocs/modules/notifications_team/notifications_team.module on line 233.
which is this:
foreach ($form['options']['#value'] as $uid => $name) {
any ideas???
Comments
Comment #1
David Goode commentedHey,
This warning just occurs in the theming function if this particular field isn't set, often because you're using the ajax method rather than the checkboxes. Warnings generally only are shown to site admins, and there isn't any problem with the logic, so this probably wasn't too big a deal. However, I just added a little if statement to check if the value is checked before iterating over it. Should show up in the dev release in a few hours.
David