Jump to content

Slight Debug Error - invalid argument.


Recommended Posts

I have one error that I need some guidance on fixing. When in debug mode I get


Warning: Invalid argument supplied for foreach() in /home/perfectp/public_html/modules/blockcategories/blockcategories.php on line 167

When I look at line 167 - this is what I see

foreach($cat_products as $product) {



Anyone tell me the error - coding not my strong point.

Link to comment
Share on other sites

You have uploaded Big size image for product in this category,
I resolve with easiest way
1 move products from Warning category to other category
2remove warning category
3open new category with the same name
4move product backs
It future avoid upload BIG size images
Resize images to 800px X 600 px for each of product
Cheers

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...