ladivito Posted October 29, 2009 Share Posted October 29, 2009 Dear All,i hope anyone that experience this can help me on this......I'm really headache about this.....At first it is able to display and work properly but don't know what is the reason, now the module is completely not working at all.the error message is :Warning: Invalid argument supplied for foreach() in /home/maricuti/public_html/modules/productscategory/productscategory.php on line 56i had uninstall and install again and the error still there....i attached a screenshot of the error as below.... Link to comment Share on other sites More sharing options...
ladivito Posted October 29, 2009 Author Share Posted October 29, 2009 Really don't know what happen to this....It is working finally, i just move the item to another category and move it back then is work and no error.....maybe is a bug or something.... Link to comment Share on other sites More sharing options...
ladivito Posted October 29, 2009 Author Share Posted October 29, 2009 it is quite annoying... the error appear again anybody know what happen and how to solve it ? Thanks in advance Link to comment Share on other sites More sharing options...
Suthichai Posted November 16, 2009 Share Posted November 16, 2009 I just resolved the problem. The simple way is delete the product that causes the error.The hard way is open the tables 1. ps_product (look closely to "id_product" and "id_category_default") 2. ps_category_product ("id_category" and "id_product"), id_product should point to the same category id. Link to comment Share on other sites More sharing options...
revert Posted January 16, 2010 Share Posted January 16, 2010 check default category in product admin / assign to any category which have more products Link to comment Share on other sites More sharing options...
antonpas_bcn Posted January 16, 2010 Share Posted January 16, 2010 I have the same problem, Have you tried the solution??? Thanls! Link to comment Share on other sites More sharing options...
ladivito Posted January 17, 2010 Author Share Posted January 17, 2010 my problem solved after re-install everything Link to comment Share on other sites More sharing options...
Toykio Posted April 12, 2010 Share Posted April 12, 2010 BEfore you re-install everything, check this:I've got the same Problem and solved it simply by changing the DEFAULT Category to a Category that is also checked in the Category-List below.thats all. ...seems to me that the Error appeared because I have selected a DEFAULT-Category wich was NOT checked in the Category-List below. Link to comment Share on other sites More sharing options...
Recommended Posts