plutten22 Posted July 21, 2016 Share Posted July 21, 2016 Hi. My prestashop is 1.5.6.0 Webpage: www.cykelstaden.se Can someone help me !!! Suddely i can´t add new products in BO. I get the message: An error occurred while creating an object. product I even tried to duplicate a product but i get the same message: An error occurred while creating an object. product I have turnd errors on! config/defines.inc.php PS_MODE_DEV to true so you can se how it looks. I had a customer today who said she could not register to order a product. My page is upp and running so i really need some help. I attached a picture of my problem Regards Plutten22 Link to comment Share on other sites More sharing options...
plutten22 Posted July 22, 2016 Author Share Posted July 22, 2016 Hi again. I get the following message when I have turnd errors on. Strict Standards: Declaration of Dispatcher::loadRoutes() should be compatible with DispatcherCore::loadRoutes($id_shop = NULL) in /www/webvol15/yo/1h2v679iibvrh0x/cykelstaden.se/public_html/override/classes/Dispatcher.php on line 16 And also: Incorrect date value: '0000-00-00' for column 'available_date' at row 1 INSERT INTO `ps_product` (`id_shop_default`, `id_manufacturer`, `id_supplier`, `reference`, `supplier_reference`, `location`, `width`, `height`, `depth`, `weight`, `quantity_discount`, `ean13`, `upc`, `cache_is_pack`, `cache_has_attachments`, `is_virtual`, `pele_related_tag_weight`, `pele_related_random_order`, `pele_related_limit_number_products`, `id_category_default`, `id_tax_rules_group`, `on_sale`, `online_only`, `ecotax`, `minimal_quantity`, `price`, `wholesale_price`, `unity`, `unit_price_ratio`, `additional_shipping_cost`, `customizable`, `text_fields`, `uploadable_files`, `active`, `redirect_type`, `id_product_redirected`, `available_for_order`, `available_date`, `condition`, `show_price`, `indexed`, `visibility`, `cache_default_attribute`, `advanced_stock_management`, `date_add`, `date_upd`) VALUES ('1', '6', '0', '', '', '', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '', '0', '', '47', '1', '1', '0', '0', '1', '3596', '0', '', '0', '195', '0', '0', '0', '0', '404', '0', '1', '0000-00-00', 'new', '1', '0', 'both', '0', '0', '2016-07-22 11:26:29', '2016-07-22 11:26:29') Regards Plutten22 Link to comment Share on other sites More sharing options...
musicmaster Posted July 22, 2016 Share Posted July 22, 2016 Note that the offending file is "/override/classes/Dispatcher.php". As it is in override it must be from a module. It is up to you to find out which module. Then you can disable it and contact its producer for a complaint and/or an upgrade. Link to comment Share on other sites More sharing options...
plutten22 Posted July 23, 2016 Author Share Posted July 23, 2016 Hi Problem solved. It was not a module. I made some changes in classes/db/DbPDO.php invalid dates allowed in MySQL. Regards Plutten22 Link to comment Share on other sites More sharing options...
mecollectibles Posted May 13, 2019 Share Posted May 13, 2019 On 7/23/2016 at 2:47 AM, plutten22 said: Hi Problem solved. It was not a module. I made some changes in classes/db/DbPDO.php invalid dates allowed in MySQL. Regards Plutten22 Would you please let me know how you solved it? Thanks in advance. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now