ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: studio on April 25, 2008, 10:05:54 am

Title: Warning: Variable passed to each() is not an array or object
Post by: studio on April 25, 2008, 10:05:54 am
I'm a newbie with Listmail, but got it all installed (i think!)

But i get this error whenever i submit a form:

> Warning: sort() expects parameter 1 to be array, null given in /home/fhlinux153/c/crusaderadvertising.com/user/htdocs/listmail/signup.php on line 25
> Warning: Variable passed to each() is not an array or object in....etc
> Warning: reset() [function.reset]: Passed variable is not an array or object in...etc
- get this 6 times and finally...
> ListMail Custom HTML not found! Please contact your administrator.

this happens even when i use the preview form.
Can anyone help me please????
Title: Warning: Variable passed to each() is not an array or object
Post by: DW on April 25, 2008, 10:11:13 pm
If this happens even using the preview form I would suspect a rare issue with the ListMail URL.  Some servers due to configuration cannot accept form POSTs to certain forms of URLs...  My suggestion is this: If the ListMail URL contains "www.", try removing it.  If the URL does not contain "www.", try adding it.

Regards
Title: Warning: Variable passed to each() is not an array or object
Post by: studio on April 28, 2008, 08:10:49 am
ok thanks - this has worked for the preview form but not the one on the website, even though i removed the www from the form action.

Any ideas?

I have another issue with it not sending any confirmation email but i will start another thread for that one!!
Title: Warning: Variable passed to each() is not an array or object
Post by: studio on April 28, 2008, 08:16:39 am
sorry - it does now seem to be working off the website too lol!

Thanks