jocrea7 Posted August 29, 2019 Share Posted August 29, 2019 Hello everyone. (I will pay for a support ticket also but maybe you can help me faster or maybe you can help them too with your clues ? ) Since several days, when on the front office, when you click on order in the cart, it throws a 500 error. (we didn't update any module or else since months ago, and i tried disabling the cross-selling display in cart as the cross-selling module is disabled) After having put on the dev mode, i get this error screen (the verbose one is in 5 pictures in the attachments of this topic): [PrestaShopException] Invalid product vars at line 106 in file classes/Link.php 101. if (is_array($product) && isset($product['id_product'])) { 102. $product = new Product($product['id_product'], false, $id_lang, $id_shop); 103. } elseif ((int)$product) { 104. $product = new Product((int)$product, false, $id_lang, $id_shop); 105. } else { 106. throw new PrestaShopException('Invalid product vars'); 107. } 108. } 109. 110. // Set available keywords 111. $params = array(); LinkCore->getProductLink - [line 163 - tools/smarty/sysplugins/smarty_internal_templatebase.php(156) : eval()'d code] - [3 Arguments] content_5d679ae04b4a74_81118125 - [line 187 - tools/smarty/sysplugins/smarty_internal_templatebase.php] - [1 Arguments] Smarty_Internal_TemplateBase->fetch - [line 317 - classes/SmartyCustom.php] - [7 Arguments] Smarty_Custom_Template->fetch - [line 2309 - classes/module/Module.php] ModuleCore->display - [line 219 - modules/blockcartaccessories/blockcartaccessories.php] - [2 Arguments] BlockCartAccessories->hookshoppingCartExtra - [line 587 - classes/Hook.php] - [1 Arguments] HookCore::coreCallHook - [line 544 - classes/Hook.php] - [3 Arguments] HookCore::exec - [line 373 - controllers/front/ParentOrderController.php] - [2 Arguments] ParentOrderControllerCore->_assignSummaryInformations - [line 240 - controllers/front/OrderController.php] OrderControllerCore->initContent - [line 189 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Thank you by advance if you have any clue to help us. My shop is pending since then... Very bad for our image and for the sales of course... 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