luxotk Posted April 1, 2015 Share Posted April 1, 2015 [PrestaShopException] Invalid product vars at 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. else 103. throw new PrestaShopException('Invalid product vars'); 104. } 105. 106. // Set available keywords 107. $params = array(); 108. $params['id'] = $product->id; LinkCore->getProductLink - [line 482 - cache/smarty/compile/8b/51/dc/8b51dc3d9c2449d4c61ad2227875f58b14397d76.file.blockcart.tpl.php] - [2 Arguments] content_551b80a45fa576_86743570 - [line 188 - tools/smarty/sysplugins/smarty_internal_templatebase.php] - [1 Arguments] Smarty_Internal_TemplateBase->fetch - [line 2032 - classes/module/Module.php] ModuleCore->display - [line 186 - modules/blockcart/blockcart.php] - [2 Arguments] BlockCart->hookRightColumn - [line 235 - modules/blockcart/blockcart.php] - [1 Arguments] BlockCart->hookTop - [line 509 - classes/Hook.php] - [1 Arguments] HookCore::exec - [line 448 - classes/controller/FrontController.php] - [1 Arguments] FrontControllerCore->initContent - [line 37 - controllers/front/IndexController.php] IndexControllerCore->initContent - [line 180 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] 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