Posted: 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 |
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 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? |
|
|
And there’s no way to delete past events / tickets – even if over one year old? |
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. |
|
|
How can we bulk delete/remove transactions with payments assigned to them? |
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. |
|
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. |
|
The support post ‘Cannot add 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.