Support

Home Forums Event Espresso Premium Cannot add tickets

Cannot add tickets

Posted: September 3, 2019 at 6:18 pm


nyccnc

September 3, 2019 at 6:18 pm

I am adding a new set of classes (“Events”) – the last class (February 2020) will not allow me to create a new ticket. The site seems to crash or re-load without the new ticket. Example: http://somup.com/cqQfc0exkc

WordPress Version: 4.9.8

PHP Version: 7.0.33

MySQL Version: 5.5.5

Event Espresso Version: 4.9.67.p

WordPress Address (URL): https://www.nyccnc.com

Site address (URL): https://www.nyccnc.com


Tony

  • Support Staff

September 4, 2019 at 3:23 am

Hi there,

The site doesn’t appear to be crashing in the video, but with the number of datetimes/tickets you have on that page, you are likely hitting the server max_input_vars limit.

Within PHP there is a max_input_vars value which tells PHP how many inputs to process on the page and then ignore the rest, so you’re likely at that limit now and when you add another ticket it goes over and those new inputs are ignored, meaning no new ticket.

If you create a new test event and add a couple of tickets to that event, do they save? If so, writing the to the database is working fine.

You have a couple of options if its max_input_vars, you can increase the value to allow more inputs. Some hosts have an option to set the value in their control panel, others you’ll need to create a php.ini file to increase the limit (or contact your host and have them do it for).

For the current event the above might be your best option as you have active registrations on your current tickets but please read the below.

Continually adding datetimes/tickets to a single event means you will always end up hitting the limit eventually so what I recommend is to break out into a new event by duplicating the current event and use a new ‘instance’ of the event. So rather than adding the all of the tickets to the same event you could use a new event per year.

As an example for the event in the video, you could duplicate that event change the slug/permalink to ‘hands-on-cnc-maching-class-2018’, then change the duplicate events slug to just use ‘hands-on-cnc-maching-class’ so that any links you have going to that event will continue to work as normal, you just won’t have the old tickets on it. Remove any past datetimes/tickets on the duplicate event and start fresh, if you do that each year you would have around 12 datetimes/tickets on the event which is fine.

Do that make sense so far?

Event Espresso Version: 4.9.67.p

The current version of Event Espresso is 4.10.0.p

The version you are using was released August 21, 2018, is there something preventing you from updating?


nyccnc

September 4, 2019 at 4:39 am

And there’s no way to delete past events / tickets – even if over one year old?


Tony

  • Support Staff

September 4, 2019 at 4:42 am

There is, but you’ll need to remove all of the registrations linked to the tickets first.

If those registrations have a payment(s) assigned to their transaction, those need to be manually removed first and then the registrations deleted.


nyccnc

September 4, 2019 at 8:24 am

How can we bulk delete/remove transactions with payments assigned to them?


Josh

  • Support Staff

September 4, 2019 at 9:22 am

Hi,

Those cannot be bulk deleted where there are payments.

Your actual way forward will be to contact your host and ask them to raise the limit of the max_input_vars settings. For example if the limit is 1000, they could raise the limit to 2000.


Tony

  • Support Staff

September 4, 2019 at 9:23 am

Currently you can’t.

You would need to edit each transaction manually and delete any payments assign to them. Then delete the registrations which will remove the transaction for you.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Tony 2 weeks, 1 day ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!