Post by jsdfwwe3122 » Tue Mar 21, 2017 2:10 am

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?

Newbie

Posts

Joined
Tue Feb 21, 2017 2:50 am

Post by opencartmart » Tue Mar 21, 2017 11:40 pm

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()

XForm - Opencart Form Builder

Xshippingpro - An advanced Shipping Module


Newbie

Posts

Joined
Wed Oct 02, 2013 3:59 am
Location - Dhaka, Bangladesh
Who is online

Users browsing this forum: sculptex, thekrotek and 32 guests