Support

Home Forums Event Espresso Premium Maximum number of inputs

Maximum number of inputs

Posted: July 29, 2019 at 2:20 pm

Viewing 15 reply threads


Gail DeLuca

July 29, 2019 at 2:20 pm

I found a post from Jan 2019 about this topic, suggests increasing “max_input_vars” to 3000 – https://eventespresso.com/topic/the-maximum-number-of-inputs-on-this-page-has-been-exceeded/

this is the error message – “The maximum number of inputs on this page has been exceeded. You cannot make edits to this page because of your server’s PHP “max_input_vars” setting. There are 11924 inputs and the maximum amount currently allowed by your server is 3500. Please contact your web host and ask them to raise the “max_input_vars” limit.

11,924 — I’m guessing there’s a problem. Any advice you could offer please would be welcome.

Thanks.


Josh

  • Support Staff

July 29, 2019 at 2:28 pm

You could contact your web host and see if they’re willing to increase the max_input_vars limit to 12,000.


Gail DeLuca

July 29, 2019 at 2:52 pm

I already did that and they are very wary – they don’t understand EE or why it would need more and why the 3500 is’nt sufficient. They already increased from 1000 to 3,500. Based on the post in January, “3000 should give enough wiggle room.” Yes I’ve spent an inordinate amount of time on trying to get this upgrade sorted but that many inputs seems extraordinarily huge. Additionally the cart is very slow. taking between 10 & 30 seconds for each step of the registration process. EE3 was phenomenal by comparison.


Josh

  • Support Staff

July 29, 2019 at 2:57 pm

3500 should normally be more than sufficient. May I ask about how many datetimes and ticket options are within that one event?


Gail DeLuca

July 29, 2019 at 3:18 pm

that one event is a class with a max number of registrants set to 4. We set 2 ticket options in error during a previous test and I was trying to take off the 2nd ticket & find out why the system is taking tax off the second ticket. (https://www.whitefoxbeads.com/events/uplevel-your-earrings-briolette-wraps-7/) when the error message popped up. Just viewing the event causes the error message to pop up, never mind trying the change anything or save it.


Josh

  • Support Staff

July 29, 2019 at 3:41 pm

May I assume there’s only one datetime and only 2 tickets? If so, that should only make for roughly 300 or less inputs on the page.

What I wonder is if there’s something else on your site that’s adding the additional inputs to the page. Does the error go away if you temporarily deactivate the other plugins?


Gail DeLuca

July 29, 2019 at 3:53 pm

I didn’t experience the error message when I was testing the “cart” for slowness with all the plugins turned off. We’ve only experienced the error messages when working on events so far. I had not thought to put it back in maintenance and turn off al the plugins again to test for the event updates. Is there some setting I can check. I did experience some difficulties with the initial migration but thought all was well when I was able to get the calendar view working this morning and the PayPal testing completed. Multi registration is turned on but all other EE addons are currently off.


Josh

  • Support Staff

July 29, 2019 at 4:20 pm

Two things you could check:

1) If you start a new event, and make some edits to it, do you get the “The maximum number of inputs on this page has been exceeded.” message?

If so, there could be some unexpected data within the other event that’s somehow triggering the high number of elements.

2) On the event editor page where you do see the error, check the page source. The html <input> tags will number into the thousands, which again, is very unusual. If the inputs are coming from a different plugin they may be recognizable from their contents. As mentioned earlier, another way to check if the inputs are from another plugin is deactivate all other plugins, then go to edit the event again.


Gail DeLuca

July 29, 2019 at 5:34 pm

Started a new event and got only as far as the tile.
The maximum number of inputs on this page has been exceeded. You cannot make edits to this page because of your server’s PHP “max_input_vars” setting.
There are 7999 inputs and the maximum amount currently allowed by your server is 3500.
The lines of code on this page beggars belief! More the 62000 lines of code! Is this normal?


Gail DeLuca

July 29, 2019 at 6:09 pm

Hey Josh – I’ve found thousands of lines of code that are like this :

<tr class=”ticket-tax-row TKT-taxes-display” style=”display:none;”>
<td colspan=”4″ class=”ee-numeric”>
<span class=”TKT-tax-label”>Surcharge</span>
</td>
<td class=”ee-numeric”>
<span id=”TKT-tax-amount-display-1037-1″
class=”TKT-tax-amount-display”>$0.00</span>
<input type=”hidden” name=”TKT-tax_amount[]” id=”TKT-tax-amount-1037-1″
class=”TKT-tax-amount” value=”0″>
<input type=”hidden” name=”TKT-tax_percentage[]”
id=”TKT-tax-percentage-1037-1″ class=”TKT-tax-percentage”
value=”9.25″>
</td>
<td></td>
</tr>

as you can see this one is 1037 ! I’ll keep going & see if I can find the end but thought I send this in case it has any meaning.


Gail DeLuca

July 29, 2019 at 6:15 pm

those rows end at # 3919

then we have an equal # of these

<td class=”ee-numeric”>
<span id=”TKT-tax-amount-display-2-TICKETNUM”
class=”TKT-tax-amount-display”>$0.00</span>
<input type=”hidden” name=”TKT-tax_amount[]” id=”TKT-tax-amount-2-TICKETNUM”
class=”TKT-tax-amount” value=”0″>
<input type=”hidden” name=”TKT-tax_percentage[]”
id=”TKT-tax-percentage-2-TICKETNUM” class=”TKT-tax-percentage”
value=”9.25″>
</td>

YES another 3919

I’m really hoping you can give me a place to go look/delete/turn off : /


Josh

  • Support Staff

July 30, 2019 at 7:14 am

Hi,

You go to delete any extras/duplicates in Event Espresso > Prices.


Gail DeLuca

July 30, 2019 at 7:48 am

Thanks Josh we are having trouble figuring out how to get pricing set up correctly. We made changes to try to get the display correct & we obvioulsy messed up. Can you point me to the place in the documentation that explains how pricing works & displays. We have free classes, paid classes and local sales tax. When there is a fee, we want to display the class price + tax. I’m sure we are missing some step. Anything you could advise would be appreciated


Josh

  • Support Staff

July 30, 2019 at 7:55 am

Hi,

You actually set the pricing within the event. When tax should be applied to the ticket, you click on the advanced options icon (it looks like a gear) and check the box next to “this ticket is taxable”. Please note that when the “this ticket is taxable” option is set, then all taxes set in Event Espresso > Pricing will apply onto the ticket.

When there is a fee, we want to display the class price + tax.

You go to Event Espresso > Prices > Tax Settings and set the setting there to “Yes”.


Gail DeLuca

July 30, 2019 at 8:09 am

OK we thought this was a global no an individual setting.


Gail DeLuca

July 30, 2019 at 8:31 am

Thanks for sticking with us I think we are finally on the right path : )))

Viewing 15 reply threads

The support post ‘Maximum number of inputs’ 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