Showing results for 
Search instead for 
Did you mean: 

PHP API Error Message

New Member

PHP API Error Message

Hi! I'm desparately seeking answers as to why the PHP API form on my site is giving the following error message:

Warning: Invalid argument supplied for foreach() in /home/httpd/visitsantaonline/ on line 38

Tech support had no answers and suggested I try here to see if anyone can point my designer in the right direction...

I would be eternally grateful for any insight you have!!!

My thanks!

CTCT Employee

PHP API Error Message

Hi Mike,

In conjunction with the release of an expanded API, we have created a forum dedicated to API and development related issues here:

You may find some support in that forum...but I am sure that having the contents (or at least the lines around line 38 ) of your php script (mailer.php) will be necessary.

Tom M, Product Manager, Constant Contact
Solution Provider

PHP API Error Message

Holy Cow, Tom!

That's one nice set-up you guys have there. Wish I had know about this sooner!