Skip to content

foreach() error message #68

alankessler opened this Issue Apr 16, 2012 · 4 comments

3 participants



I just installed poMMo fresh and for the first time. I'm getting the following error messages or similar on most of the forms:

Warning: Invalid argument supplied for foreach() in [REDACTED]/pommo/themes/default/subscribe/form.update.php on line 42

soonick commented Apr 16, 2012

Thanks for reporting this bug.

Can you please tell me what you were doing (or trying to do) before you got the error?

cd45 commented Apr 22, 2012

Hi this issue is on the form.update.php on line 42 it occurs when you go to update.php to update your email or unsubscribe

please advise how to fix this

cd45 commented Apr 22, 2012

ok i found if i add this code to top of form.update.php I can hide the warning as the page seems to work


ini_set( "display_errors", 0); ?>

@soonick soonick was assigned May 5, 2012
@soonick soonick added a commit that closed this issue May 5, 2012
@soonick Edited form.update.php template to verify that fields array exist bef…
…ore trying to loop it. Fixes #68
@soonick soonick closed this in 135673e May 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.