Jump to content

Categories gone missing (frontend), replaced with error


Recommended Posts

Hi.

 

I've exhausted my google searching and have come here. I have client's who's prestashop site has the following problem.

 

On a category page all sub-categories have disappeared and the Categories Block v2.0 has gone from the 'left column blocks' despite still being assigned to it in the backend.

 

I get the following error instead:

 

Warning: Invalid argument supplied for foreach() in /var/www/sites/capturetheevent.com/classes/Category.php on line 442

 

Example: http://www.capturetheevent.com/56-touch-world-cup-2011

 

 

I'm running PS 1.4.4.0. This happened a few days ago. No files have been edited and no products or categories have been added over that time. The only thing I've done to the database is index the remaining 50,000 or so products (yes, I know a lot of products). Just under 100,000 in total.

 

In an attempt to fix the problem I have reindexed all the products (tested the frontend at the beginning and end of that process). I have also disabled the categories block & turned off caching. None successful.

 

Does anyone have any ideas?

 

Thank you

Link to comment
Share on other sites

×
×
  • Create New...