
Originally Posted by
honda-crunch
Hi
Just wondered if anyone has seen the following and if there is a fix for it:
I just recently installed v1.02. Everything except a previous noted error regarding advance search worked ok. I managed to fix the advance search myself. However, looking through the cahe log I noticed the following:
PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/*****************/httpdocs/catalog/ajax_compare.php on line 29
Has anybody else noticed this?
I found a website that gave an indication that the coding may be wrong on line 29. As I'm not a programmer, I am at a loss.
Below is an extract from the web site I found:
(Invalid argument supplied for foreach() can happen if you try to do a foreach on an variable that isn't an array. Maybe it is "supposed to" be an array, maybe you thought it was an array, but sorry -- it isn't.)