0
votes

Some of my product pages keep showing me this message:

“Notice: Undefined index: option_value in /home/paper/osconvites/vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 411Notice: Undefined index: option_value in /home/paper/osconvites/vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 411Notice: Undefined index: option_value in /home/paper/osconvites/vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 411”

1
Make sure vqcache has 777 permissiontest
Can you post the code of your vQmod cache file here ?Nipun Tyagi
I did that @Jack, but nothing changed it still show's the error message.Brip
Here @NipunTyagi this is the code from the file listed in the error message. jsfiddle.net/brip/49vovtrkBrip

1 Answers

2
votes

Add this code in line no 406

if (!isset($product_option['option_value']) || $product_option['option_value'] == '' ) {
    $product_option['option_value'] = '';
}