PDA

View Full Version : Error: class.php4Client.php on line 289


authcode
28-10-07, 17:21
Warning: Invalid argument supplied for foreach() in /home/shopper/public_html/includes/soap/classes/class.php4Client.php on line 289

Seeing a lot of these errors in my test site. Doesn't stop the page from loading but results in empty products. Happens when searching and getting category listings.

Is this anything we can fix our end or is this a problem with the returned data?

Adrian
31-10-07, 15:30
Hi Steve,

Thanks for letting me know about this, just want to find out if anyone else is experiencing the same errors as you??? Please can i have some feedback on this guys (either way).

Cheers,

Adrian
SW Integration & Technical Support

adrian.botelho@digitalwindow.com
www.digitalwindow.com

authcode
31-10-07, 16:48
I think this might have just been a temporary glitch that day. I saw this error several times as I was coding my site but haven't seen it since (I've got errors turned off but I haven't seen any blank products). Seemed to me there was nothing I could do about it given the error report. If you can confirm that this is problem with the returned data, maybe a corrupt feed or something due to server problems, then I won't worry about trying to find a workaround.

Bud
31-10-07, 17:01
Sorry - missed this post

If it helps at all I had the same for a short period.

Not returned since.

TrafficProducer
19-04-08, 16:34
I got a simular issue, here's my post (http://www.shopwindowforum.com/showthread.php?t=660&highlight=foreach)

Andy
21-04-08, 13:43
Not sure if this is 100% related.
I have 2 installations, one running php4 and one on php5.
I was messing with (some code) around the switch for php4 and php5. I noticed that even on php5 it was still switching to include class.php4Client.php. No matter what i did, i couldn't get the it to switch to class.php5Client.php, even when i tried to force it into thinking i was running 5 (which i was)

this was about a month ago. i assumed it was something of my own doing, but now people are getting similar errors, I thought I'd bring it up