diana13 Posted May 14, 2015 Share Posted May 14, 2015 (edited) From time to time, I've got this error in error_log: PHP Notice: Trying to get property of non-object in ***/public_html/cache/smarty/compile/ce/11/86/ce1186e03b92f8284189a12e8d9162e38c124afb.file.crossselling.tpl.cache.php on line 80 line 80 is this: <?php $_tmp1=ob_get_clean();?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('cart',true,null,"qty=1&id_product=".$_tmp1."&token=".((string)$_smarty_tpl->tpl_vars['static_token']->value)."&add"), ENT_QUOTES, 'UTF-8', true);?> I don't know if this are something to do with fact that when I am on shopping cart and I delete a product, products from crosselling are shown all in the page. After I hit refresh, they displays well. Any ideea how to fix this? Edited May 14, 2015 by diana13 (see edit history) Link to comment Share on other sites More sharing options...
diana13 Posted May 15, 2015 Author Share Posted May 15, 2015 I've found this fix for displaying crosselling products in shopping-cart, I hope I will not get the error anymore: https://github.com/PrestaShop/PrestaShop/commit/0b1e26390e7c4a56e72dc18b24025395cebf5613 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