I have a form with over 1000 inputs, it shows warning below:
Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0
I have changed max_input_vars
to more than 1500 in php.ini
file but it does not take effect and shows the same error.
My project details:
How can I clear this warning?
ASH's suggested
ini_set('max_input_vars','2000' );
but this never work with ini_set. You need to set it with php.ini or .htaccess file only.
Add below code in your .htaccess file
php_value max_input_vars 2000
you can change value of 2000 to as per your need
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With