Jump to content

Some crosselling errors


Recommended Posts

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 by diana13 (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...