elund Posted October 26, 2013 Share Posted October 26, 2013 (edited) Hi, After upgrading from 1.5.4.1 to 1.5.6.0 I cannot access any product page on www.prospeed.dk. The problem is the same if I disable Freindly URL in BackOffice. So regenerating the .htaccess file doesn't help and enabling canonical url doesn't help either. Any ideas to fix this problem? Here are some debug info: [PrestaShopException]Invalid product varsat line 104 in file classes/Link.php 98. if (is_array($product) && isset($product['id_product']))99. $product = new Product($product['id_product'], false, $id_lang, $id_shop);100. elseif ((int)$product)101. $product = new Product((int)$product, false, $id_lang, $id_shop);102. else103. throw new PrestaShopException('Invalid product vars');104. }105.106. // Set available keywords107. $params = array();108. $params['id'] = $product->id; LinkCore->getProductLink - [line 159 - cache/smarty/compile/00/33/e0/0033e036140f18793114b07c257c81b9053aa370.file.goodrelations_product.tpl.php] - [3 Arguments] content_526c3b32530097_41347938 - [line 180 - tools/smarty/sysplugins/smarty_internal_templatebase.php] - [1 Arguments] Smarty_Internal_TemplateBase->fetch - [line 1662 - classes/module/Module.php] - [0 Argument] ModuleCore->display - [line 258 - modules/goodrelations/goodrelations.php] - [2 Arguments] GoodRelations->hookProductFooter - [line 459 - classes/Hook.php] - [1 Arguments] HookCore::exec - [line 552 - controllers/front/ProductController.php] - [2 Arguments] ProductControllerCore->assignCategory - [line 225 - controllers/front/ProductController.php] - [0 Argument] ProductControllerCore->initContent - [line 167 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 28 - index.php] - [0 Argument] Edited October 27, 2013 by elund (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted October 27, 2013 Share Posted October 27, 2013 disable the module called GoodRelations 1 Link to comment Share on other sites More sharing options...
elund Posted October 27, 2013 Author Share Posted October 27, 2013 Realy well looked It works Thank you very much Link to comment Share on other sites More sharing options...
Alberto Fernández Posted September 9, 2014 Share Posted September 9, 2014 disable the module called GoodRelations Well, that's not a complete solution, only means that the problem is in that module and you can keep working. That just happened to me after updating the crosselling module. Why? I don't know. Just deactivated it because is not important to me at this moment. Link to comment Share on other sites More sharing options...
Recommended Posts