ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: jonisolis on October 10, 2013, 10:30:23 am

Title: PHP Warning: Variable passed to each() is not an array or object in
Post by: jonisolis on October 10, 2013, 10:30:23 am
Error messages I am getting with ListMailPro...

[10-Oct-2013 10:03:57] PHP Warning:  sort() expects parameter 1 to be array, null given in /home1/alove4ho/public_html/mail/signup.php on line 25
[10-Oct-2013 10:03:57] PHP Warning:  Variable passed to each() is not an array or object in /home1/alove4ho/public_html/mail/signup.php on line 29
[10-Oct-2013 10:03:57] PHP Warning:  reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /home1/alove4ho/public_html/mail/signup.php on line 33
[10-Oct-2013 10:03:57] PHP Warning:  Variable passed to each() is not an array or object in /home1/alove4ho/public_html/mail/signup.php on line 78
[10-Oct-2013 10:03:57] PHP Warning:  reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /home1/alove4ho/public_html/mail/signup.php on line 85
[10-Oct-2013 10:03:57] PHP Warning:  Variable passed to each() is not an array or object in /home1/alove4ho/public_html/mail/signup.php on line 88
[10-Oct-2013 10:03:57] PHP Warning:  reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /home1/alove4ho/public_html/mail/signup.php on line 111
[10-Oct-2013 10:03:57] PHP Warning:  Variable passed to each() is not an array or object in /home1/alove4ho/public_html/mail/signup.php on line 114
[10-Oct-2013 10:03:57] PHP Warning:  reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /home1/alove4ho/public_html/mail/signup.php on line 121
[10-Oct-2013 10:03:57] PHP Warning:  Variable passed to each() is not an array or object in /home1/alove4ho/public_html/mail/signup.php on line 124
[10-Oct-2013 10:03:57] PHP Warning:  reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /home1/alove4ho/public_html/mail/signup.php on line 148
[10-Oct-2013 10:03:57] PHP Warning:  Variable passed to each() is not an array or object in /home1/alove4ho/public_html/mail/signup.php on line 151
[10-Oct-2013 10:03:57] PHP Warning:  reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /home1/alove4ho/public_html/mail/signup.php on line 158
Title: Re: PHP Warning: Variable passed to each() is not an array or object in
Post by: DW on October 12, 2013, 02:53:15 pm
Hi Joni,

Try a search in these forums for "variable passed" as there may be others who have had the same problem in the past.  (Are you sure you set the required "list" variable?)

If you still can't get it fixed, we can take a look at your signup form HTML. Please paste the code with the ACTION variable modified to protect your privacy.  "example.com" is a good domain to use.  Put your code between (code) and (/code) with square instead of round brackets for best results.

Regards