3

Magento 2.2.2 Product Edit with More than 25 options on Custom Options gets error Invalid Form Key. Please refresh the page? Can anyone help how to solve this issues? enter image description here

3

php.ini file variable max_input_vars increase it to 10000 through below php function

ini_set('max_input_vars', 10000);

OR Using Linux command line

cd /etc/php/7.0/apache2/
vi php.ini (Open for edit and set max_input_vars=10000)
:wq(Press esc and write the mentioned command to save and exit)
sudo /etc/init.d/apache2 restart(Restart Server)
  • Thank you for your reply. I have tried that but it's not working for me. – user53816 Jan 11 '18 at 7:30
3

Open your server's php.ini file with root user, search for max_input_vars and set its value as 100000 and it will solve your problem.

max_input_vars = 100000
0

In php.ini set max_input_vars to 75000.

  • Thank you for your reply. I have tried that but it's not working for me. – user53816 Jan 11 '18 at 7:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy