Support

Home Forums Event Espresso Premium Events with more than 22 tickets

Events with more than 22 tickets

Posted: November 13, 2016 at 10:51 pm

Viewing 3 reply threads


Giant Dwarf

November 13, 2016 at 10:51 pm

G’day we’ve just run into a new bug today that I thought I’d better pass on for your team to investigate.

We noticed one of our events keeps duplicating the final ticket every time we “save” or “update draft”, and we don’t seem to be able to delete or update the tickets. To avoid that we’ve just created a brand new event for the new tickets.

However, when trying to reproduce the bug, I’ve found that we don’t seem to be able to create events with more than 22 tickets without problems suddenly arising. In my test event it seems adding any more tickets to an event with 22 existing tickets will just ignore/drop the new tickets on updating the draft. When I looked into the database, it seems the tickets are being saved, but no related row gets created in the esp_datetime_ticket table. If I delete some tickets then I can add new ones again, up to 22.

It’s entirely possible this bug is just unique to our setup, or is actually an undocumented limit, but I thought I’d pass this along so you can try this out on one of your testing platforms and see if it’s a consistent thing.

Thanks!


Tony

  • Support Staff

November 14, 2016 at 6:28 am

Hi there,

Are you using the latest version of Event Espresso (currently 4.9.21.p) and WordPress?

We noticed one of our events keeps duplicating the final ticket every time we “save” or “update draft”, and we don’t seem to be able to delete or update the tickets. To avoid that we’ve just created a brand new event for the new tickets.

So is that only happening on a specific event?

Can you post the steps to reproduce, I’ve tried created draft events and updating multiple times but no additional tickets are created on my test sites so need some more details if possible.

However, when trying to reproduce the bug, I’ve found that we don’t seem to be able to create events with more than 22 tickets without problems suddenly arising. In my test event it seems adding any more tickets to an event with 22 existing tickets will just ignore/drop the new tickets on updating the draft.

It sounds like you are hitting the max_input_vars limit on your server.

Can you go to Event Espresso -> Maintenance -> System Information

Search for ‘max_input_vars’ in that section, what value is set? (Guessing 1000)

You can change that by adding a little bit of code to your sites .htaccess file, here is an example of host to do this from a hosting company:

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

Some hosts also allow you to set max_input_vars within your control panel, it just depends on the host.


Giant Dwarf

November 14, 2016 at 11:19 pm

Thanks very much Tony I’ve updated the max_input_vars from 1000 to 2000 as you suggested, and it’s resolved both the limiting issue and the ticket duplication. Much appreciated.


Tony

  • Support Staff

November 15, 2016 at 6:35 am

You’re most welcome 🙂

Any further problems please do let us know.

Viewing 3 reply threads

The support post ‘Events with more than 22 tickets’ 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