Jump to content

Errors after adding a new column to product table


Recommended Posts

Hi,
So I added a new column to ps_product and ps_product_shop and the back office started popping out errors, does anyone have an idea on how to fix this?

I forgot to add that I override the informations.tpl with my module:

 

Unknown error on line 304 in file C:\xampp\htdocs\usa\override\classes\Product.php
[2048] Declaration of Product::addCombinationEntity() should be compatible with ProductCore::addCombinationEntity($wholesale_price, $price, $weight, $unit_impact, $ecotax, $quantity, $id_images, $reference, $id_supplier, $ean13, $default, $location = NULL, $upc = NULL, $minimal_quantity = 1, array $id_shop_list = Array, $available_date = NULL)

Unknown error on line 304 in file C:\xampp\htdocs\usa\override\classes\Product.php
[2048] Declaration of Product::updateAttribute() should be compatible with ProductCore::updateAttribute($id_product_attribute, $wholesale_price, $price, $weight, $unit, $ecotax, $id_images, $reference, $ean13, $default, $location = NULL, $upc = NULL, $minimal_quantity = NULL, $available_date = NULL, $update_all_fields = true, array $id_shop_list = Array)

Unknown error on line 304 in file C:\xampp\htdocs\usa\override\classes\Product.php
[2048] Declaration of Product::addAttribute() should be compatible with ProductCore::addAttribute($price, $weight, $unit_impact, $ecotax, $id_images, $reference, $ean13, $default, $location = NULL, $upc = NULL, $minimal_quantity = 1, array $id_shop_list = Array, $available_date = NULL)

 

Notice on line 404 in file C:\xampp\htdocs\usa\cache\smarty\compile\0c\3d\69\0c3d6954615106a30c37911374ec7cf8ec67e208.file.informations.tpl.php
[8] Undefined property: Product::$new_product_flag

 

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...