Support

Home Forums Event Espresso Premium The number of inputs on this page has been exceeded

The number of inputs on this page has been exceeded

Posted: May 27, 2015 at 11:23 am

Viewing 5 reply threads


tgrady

May 27, 2015 at 11:23 am

This error comes up in several events:

The number of inputs on this page has been exceeded. You cannot add anymore items (i.e. tickets, datetimes, custom fields) on this page because of your servers PHP “max_input_vars” setting.

How do I resolve this issue and increase the number.


Lorenzo Orlando Caum

  • Support Staff

May 27, 2015 at 11:41 am

Hi, that may occur if there are a large number of tickets and/or datetimes in use. I’ve seen reports of this in our support forums when about 20+ ticket options are in use.

If this is the case, then consider splitting the event.

If that isn’t an option, then check with your web host on increase the value for max_input_vars. Here is an example:

https://eventespresso.com/topic/max-input-vars-warning-2/#post-122708


Lorenzo


tgrady

May 27, 2015 at 3:46 pm

I added the value to my sites php.ini, but in the Event Espresso | Extras | Maintenance Menu, under the System Information Tab in the Raw System Data field there is still a value [max_input_vars] => 1000. How do I edit this? What file is this pulling from?


Tony

  • Support Staff

May 28, 2015 at 3:47 am

Hi there,

Event Espresso simply reads the value using:

ini_get( 'max_input_vars' );

ini_get() is a core PHP function that simply reads the value from your current configuration files.

Since changing the max_input_vars value have you restarted Apache? You may need to do this for the settings to take effect.

Also we have previously seen this where changes within root using php.ini have been overridden in sub-directories by your hosts settings. You can test if the value has been changed by running phpinfo() from within /wp-content/plugins/

If you edit one of the events displaying the warning, can you add another ticket or is it removed when you update?


tgrady

June 3, 2015 at 10:58 am

What file exactly does Event Espresso Pull this value from?


Tony

  • Support Staff

June 3, 2015 at 11:13 am

From whichever file Apache is using for that value, for example php.ini, user.ini, .htaccess.

ini_get( 'max_input_vars' );

Is reading the value directly from your web server config.

If you mean which file within Event Espresso is calling that function its:

event-espresso-core-reg\core\EE_Config.core.php

Modifying the function that calls this is not something we recommend and can not support.

Viewing 5 reply threads

The support post ‘The number of inputs on this page has been exceeded’ 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