After 300 options (different sizes), an input error is displayed.

Where can this restriction be removed?

  • If you are given an exhaustive answer, mark it as correct (a daw opposite the selected answer). - Nicolas Chabanovsky

1 answer 1

Add to .htaccess:

php_value max_input_vars 15000 

Or in php.ini, if you have access:

 max_input_vars = 15000; 

Or maybe there are such items in the hosting settings panel, look.

  • Thank. Logically, but added and did not help. Looking further - Kirill
  • And what error appears? In Opencart itself there is definitely no limit on the number of options and attributes. - Andrew Hobbit
  • After 300 values ​​entered in the options section (I have sizes and there are a lot of them because it is sold by weight) when entering 301, the error Undefined index appears: option_value_description in /home/k/kbuzukrq/wesellyarn.ru/public_html/admin/controller/catalog/ option.php on line 438. Up to 300, everything was fine - Kirill
  • In option.php, neither in line 438 nor near are there any indications of the number of indicators or other numbersKirill
  • Lines 430 - 455 - Kirill