An error occurred while updating an object. product ()

Fix this Prestashop error:  An error occurred while updating an object. product ()

 

Step 1:

ALTER TABLE `XXX_product_shop` ADD `pack_stock_type` int(11) UNSIGNED DEFAULT '3';

 

Step 2:

UPDATE `XXX_product_shop` SET `pack_stock_type` =0 WHERE `pack_stock_type` =3

 

Step 3:

ALTER TABLE `XXX_product` ADD `pack_stock_type` int(11) UNSIGNED DEFAULT '3';

 

Step 4:

UPDATE `XXX_product` SET `pack_stock_type` =3

Subcategories