Support

Home Forums Event Espresso Premium Error message: You need to select a ticket quantity before you can proceed

Error message: You need to select a ticket quantity before you can proceed

Posted: December 8, 2021 at 9:22 am

Viewing 8 reply threads


Antenna Digital

December 8, 2021 at 9:22 am

Hello,
I’m currently on EEv4 version 4.10.22.p. I have an event (https://www.lossexecutives.com/events/91st-annual-meeting-mid-winter-educational-program) where after a user selects a ticket (quantity) when they hit the submit button this error pops up: “The following errors have occurred: An error occurred while trying to retrieve the ticket selections for the event. Please click the back button on your browser and try again. You need to select a ticket quantity before you can proceed.”

Image of Error

I’ve cleared the cache, and have looked over other events that did work.


Antenna Digital

December 8, 2021 at 9:24 am

Image of Error


Tony

  • Support Staff

December 8, 2021 at 12:37 pm

Hi there,

I’ve been able to reproduce this locally and have created a ticket for our developers to investigate further.

We should have a fix for this shortly.


Antenna Digital

December 9, 2021 at 7:41 am

This reply has been marked as private.


Antenna Digital

December 9, 2021 at 3:55 pm

This reply has been marked as private.


Tony

  • Support Staff

December 10, 2021 at 5:28 am

This should be fixed in the next version of Event Espresso, due out Monday.

However, there is a quick patch you can do in the meantime:

In \event-espresso-core-reg\modules\ticket_selector\ProcessTicketSelectorPostData.php

Around line 184 you should have:

if (empty($row_qty) || ! is_array($row_qty) || $rows !== count($row_qty)) {

Change it to:

if (empty($row_qty) || ! is_array($row_qty)) {

That should allow your registrations to work for now.


Tony

  • Support Staff

December 14, 2021 at 1:55 pm

I’ve just pushed version 4.10.23.p live on the site which includes a fix for this.

If you can’t see that update available on your site go to Event Espresso -> General Settings. Make no changes and just hit save, that will force an update check and should show the update in Dahsboard -> Plugins.


Antenna Digital

December 14, 2021 at 3:47 pm

Thanks Tony, The single line fix worked. I’ll get the update as well. Thanks so much for the quick fix.


Tony

  • Support Staff

December 14, 2021 at 5:41 pm

You’re most welcome.

Just incase it isn’t clear, you don’t need both the fox I gave you and the update. The update was a stopgap until the above versions was released. So simply updating should fix the issue 🙂

Viewing 8 reply threads

The support post ‘Error message: You need to select a ticket quantity before you can proceed’ 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