Jump to content

PHP Notice: Undefined index: size/data in /public_html/---/cache/smarty/compile/


Recommended Posts

Hi guys,

 

I'm having an issue with one particular combination of products when placing an order. It constantly gives a payment error.

The error log shows the following:

PHP Notice:  Undefined index: size in public_html/---/cache/smarty/compile/20/c9/4e/---.file.wsc_product.tpl.php on line 58
PHP Notice:  Undefined index: data in public_html/---/cache/smarty/compile/20/c9/4e/---.file.wsc_product.tpl.php on line 69

 

These lines are showing the following, respectively:

$_from = $_smarty_tpl->tpl_vars['r']->value['size']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
$_from = $_smarty_tpl->tpl_vars['r']->value['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}

Could anybody tell me what is wrong with these two lines for size and data?

I'm using PS 1.6.09

Thanks so much.

Edited by aliaspt (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...