Jump to content

New product goes to every category


Recommended Posts

After upgrading my shop to 1.4.9 I've had a problem with a new product. Always when I'm trying to create or copy new products they will go to every categories and subcategories of my shop.

 

If I will try to change categories I'll got:

 

Warning: Illegal offset type in isset or empty in /www/w/8/3/0/3/w8303952/html/classes/Product.php on line 642 Warning: Illegal offset type in /www/w/8/3/0/3/w8303952/html/classes/Product.php on line 642 Warning: Illegal offset type in /www/w/8/3/0/3/w8303952/html/classes/Product.php on line 648 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2

 

 

 

INSERT INTO `ps_category_product` (`id_category`, `id_product`, `position`)

VALUES (Array, 142, )

 

I've tested to create a new category and to create a new product to it. The outcome will be the same.

 

The shop is working, clients can use it and payments are delivering.

Link to comment
Share on other sites

×
×
  • Create New...