Confuscius
28-04-07, 00:18
Hi Amo
I am now getting a lot of errors on my cpanel logs relating to invalid arguments being supplied for a foreach statement in includes/elements/search_box.php - I have tracked some back to the time of the error and they relate to Google spider visits. An example for you, run on shopwindow domain:
http://www.shopwindow.com/product.php?p=11188145&c=240
Interesting result but the php error will be on the log.
My guess is that the product used to exist and Google found it. It is now not part of the dataset and Google is trying to re-index a product that no longer exists on the dataset. Clearly there needs to be a fix for this issue! eg if no product found then echo no product found or something similar!
I would appreciate if someone else could confirm similar errors from their cpanel error log.
Paul
I am now getting a lot of errors on my cpanel logs relating to invalid arguments being supplied for a foreach statement in includes/elements/search_box.php - I have tracked some back to the time of the error and they relate to Google spider visits. An example for you, run on shopwindow domain:
http://www.shopwindow.com/product.php?p=11188145&c=240
Interesting result but the php error will be on the log.
My guess is that the product used to exist and Google found it. It is now not part of the dataset and Google is trying to re-index a product that no longer exists on the dataset. Clearly there needs to be a fix for this issue! eg if no product found then echo no product found or something similar!
I would appreciate if someone else could confirm similar errors from their cpanel error log.
Paul