Follow

Undefined Index Error: Options

If you have the following error in Total Import PRO, you have a empty option value in a multiple option format:

PHP Notice: Undefined index: type in /home/name/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 
PHP Notice: Undefined index: type in /home/name/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line
PHP Notice: Undefined index: type in /home/name/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 
PHP Notice: Undefined index: type in /home/name/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 
PHP Notice: Undefined index: product_option_id in /home/name/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 
PHP Notice: Undefined index: option_id in /home/name/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line  
PHP Notice: Undefined index: option_value in /home/name/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 
PHP Notice: Undefined index: required in /home/name/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line

(Note: if vqmod is not enabled the error will exist in /home/name/public_html/admin/model/catalog/product.php).

This error occurs if there is an empty value, or an ending pipe delimiter at the end of the value. For example, "small:3:2.50:400:1|large:3:2.50:400:3|" would result in this error as the tool will see 3 option values, not 2. The ending pipe would need to be removed to correct this issue. Please see if your options are formatted correctly, as seen in this article: http://hostjars.zendesk.com/entries/21766242-How-do-I-import-options-.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk