Page 1 of 1

Undefined index: points

Posted: Tue Mar 21, 2017 2:10 am
by jsdfwwe3122
When trying to save a product with a lot of product options I am getting errors similar to the following:

Notice: Undefined index: points in /public_html/system/storage/modification/admin/model/catalog/product.php on line 223Notice: Undefined index: price_prefix in /public_html/system/storage/modification/admin/model/catalog/product.php on line 326Notice: Undefined index: product_option_value_id in /public_html/system/storage/modification/admin/model/catalog/product.php on line 328Notice: Undefined index: quantity in /public_html/system/storage/modification/admin/model/catalog/product.php on line 328Notice: Undefined index: subtract in /public_html/system/storage/modification/admin/model/catalog/product.php on line 328Notice: Undefined index: price in /public_html/system/storage/modification/admin/model/catalog/product.php on line 328Notice: Undefined index: points in /public_html/system/storage/modification/admin/model/catalog/product.php on line 328Notice: Undefined index: points_prefix in /public_html/system/storage/modification/admin/model/catalog/product.php on line 328Notice: Undefined index: weight in /public_html/system/storage/modification/admin/model/catalog/product.php on line 328Notice: Undefined index: weight_prefix in /public_html/system/storage/modification/admin/model/catalog/product.php on line 328Warning: Cannot modify header information - headers already sent by (output started at /public_html/admin/controller/startup/error.php:34) in /public_html/system/library/response.php on line 12


I only get this error when there are A LOT of product options, like 75+. I thought it might be related to php settings, so I tried increasing the following values in php.ini to no success:
post_max_size = 30000
max_input_vars = 30000

Does anyone have any idea how to fix this?

Re: Undefined index: points

Posted: Tue Mar 21, 2017 11:40 pm
by opencartmart
Be confirmed either it has really increased or not . Add following code and it will print server details. Check max_input_vars value there.

Code: Select all

phpinfo()