Page 1 of 1

Error Log - Undefined Index ... points_value & price_value

Posted: Sun Mar 09, 2014 7:51 pm
by sml
Hi,

I have the following error logs recorded about 10 times each day. I have contacted the theme developer who suggested that they relate to an extension adding something to the product page. I have installed a bunch of extensions, so he is probably correct, but how would I start in trying to resolve these errors ...

2014-03-08 6:53:21 - PHP Notice: Undefined index: points_value in /home/xxxx01/public_html/vqmod/vqcache/vq2-catalog_view_theme_xxxxx_template_product_product.tpl on line 332

2014-03-08 6:53:21 - PHP Notice: Undefined index: price_value in /home/xxxx01/public_html/vqmod/vqcache/vq2-catalog_view_theme_xxxxx_template_product_product.tpl on line 334

Thanks

Re: Error Log - Undefined Index ... points_value & price_val

Posted: Sun Mar 09, 2014 10:47 pm
by eWarrior
The errors are providing all the clues you need. Open up the template file from the vQmod cache folder and take a look at lines 332 and 334. Then work backwards. First the controller and then the model.

The code you have referenced (points_value and price_value) is not in the default template file so a modification is definitely causing this issue.