Support

Home Forums Event Espresso Premium Event has reached Max Input Vars

Event has reached Max Input Vars

Posted: April 12, 2017 at 8:38 am

Viewing 5 reply threads


gpahu

April 12, 2017 at 8:38 am

The maximum 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.
There are 1035 inputs and the maximum amount currently allowed by your server is 1000.

Thanks

I receive this message when I am working on a Golf Tournament. There are ONLY 4 ticket types and a Presenting Sponsor.
It seems suprising to have reached the Max already?
Let me know your thoughts
Thanks
Steph


Tony

  • Support Staff

April 12, 2017 at 8:55 am

Hi there,

So you have a single datetime and 4 tickets total?

If you look at the event editor do you have multiple other meta boxes from for example the theme and/or other plugins?

Any inputs on the page count towards the max_input_vars value set on your server so for example if your theme adds multiple settings to the page (even if they are hidden) they will bump the number of inputs up.

To add more datetimes/tickets to the event editor you’ll need to increase the max_input_vars value on the server to something like 3000, you can usually do this through your sites .htaccess file, take a look here:

https://www.a2hosting.com/kb/developer-corner/php/using-php-directives-in-custom-htaccess-files/setting-the-max-input-vars-directive-in-an-htaccess-file

If you are unsure I’d recommend contacting your host and have them update the value for you.


gpahu

April 13, 2017 at 7:21 pm

thanks tony. in our hosting environment we needed to edit the global php.ini (through Control Panel) with max_input_vars = 3000
As an FYI for others….


Lorenzo Orlando Caum

  • Support Staff

April 14, 2017 at 5:12 am

Hi Steph,

Thanks for sharing how you resolved the issue.

Are you seeing additional input areas such as customizations for the theme?

From your feedback, you just have a few pricing options setup so something else is introducing many inputs onto the page.


Lorenzo


gpahu

April 14, 2017 at 8:21 am

no not really. I have 3 date/times and 4 tickets. I have a sponsored by logo. i have an excerpt. No new fields. I have the people add on with 36 people in all but none are assigned to the event. I have extra questions for attendees (email phone company) and a featured image.


Josh

  • Support Staff

April 14, 2017 at 9:00 am

The 36 people inputs still count toward the server’s max input vars, along with any other inputs on the page whether they’re checked/selected/typed into or not.

Viewing 5 reply threads

The support post ‘Event has reached 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