Jump to content

Module Products Category v1.2.1 ERROR BUG


Recommended Posts

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 56

i had uninstall and install again and the error still there....

i attached a screenshot of the error as below....

13725_I36ceVccjOmN0mkkEDGm_t

Link to comment
Share on other sites

  • 3 weeks later...

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.

14512_3cLyAMqD7XuFdSv1YZPC_t

Link to comment
Share on other sites

  • 2 months later...
  • 2 months later...

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

×
×
  • Create New...