svapodream Posted September 3, 2015 Share Posted September 3, 2015 (edited) Hi everyone, I updated my prestashop from 1.5.4.1 to 1.5.6.3 (as the official site recommended) to resolve the "official security bug". I resolved this, but now I have another one more problematic. When add a new product, modify or duplicate an existing one, I click on respectives buttons and Prestashop show me a cool-clean white page! Informations was saved on DB but i must go back, reclick ecc ecc., it's a big waste of time for my business! I activated the "Dev mode" but no errors appears. So, if I try to add "combinations", this information is not saved into the product and the error is: Fatal error: Unsupported operand types in /home/xxxxxxx/public_html/controllers/admin/AdminProductsController.php on line 859 And this is a portion of this file: Tools::getValue('id_image_attr'), Tools::getValue('attribute_reference'), null, Tools::getValue('attribute_ean13'), Tools::getValue('attribute_default'), Tools::getValue('attribute_location'), Tools::getValue('attribute_upc'), Tools::getValue('attribute_minimal_quantity'), + Array(), <------------------------------------------------ this is line 859 + Tools::getValue('available_date_attribute') ); StockAvailable::setProductDependsOnStock((int)$product->id, $product->depends_on_stock, null, (int)$id_product_attribute); StockAvailable::setProductOutOfStock((int)$product->id, $product->out_of_stock, null, (int)$id_product_attribute); } } I made a copy of my website for some tests and, if I delete the "+", i dont receive the error anymore, i obtain white page but the information about combinations is stored in the product I've tryed to: - Delete cache - Replace the original AdminProductsController.php from fresh 1.5.6.3 - Disabled all modules (unless prestashop natives) Those are my server specs: PHP version: 5.5.28 Memory limit: 192M Max execution time: 120 I have no idea what is the cause, thinking about a prestashop Official bug in 1.5.6.3 Can someone help please? EDIT: The attributes bug was solved deleting the "+" symbols in php file The white page in product page was solved deleting all content of "homefeatured" module folder, uploading files of 0.9 version (I had a backup before the update!), uninstalling and reinstalling from BO then all works again perfectly! I hope this will help someone Edited September 3, 2015 by svapodream (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts