Support

Home Forums Event Espresso Premium max_input_vars

max_input_vars

Posted: October 9, 2015 at 10:39 pm

Viewing 1 reply thread


Jos

October 9, 2015 at 10:39 pm

Hi there,

I’m getting this annoying error on EE4 admin pages. How can I get rid of it? I am running PHP 5.3.29 and EE 4.8.13p

Thanks,

Joseph


Tony

  • Support Staff

October 12, 2015 at 4:19 am

Hi Joseph

max_input_vars is a setting within PHP which dictates how many variables can be used within a page.

PHP 5.3+ defaults to 1000 and if you seeing the notice it means the page is already using that amount. This means adding new tickets or datetimes will not save when you update the event so you’ll need to increase the value on your server.

There is a couple of ways to do this, using either the .htaccess file and adding:

php_value max_input_vars 3000

Or using a PHP.ini file and adding something like:

php_value max_input_vars 3000
php_value suhosin.get.max_vars 3000
php_value suhosin.post.max_vars 3000
php_value suhosin.request.max_vars 3000

Will increase the limit to 3000.

If you are unsure of the above I would recommend contacting your hosting provider and have them increase the limit for you.

Viewing 1 reply thread

The support post ‘max_input_vars’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso