Support

Home Forums Event Espresso Premium An error has occurred….

An error has occurred….

Posted: March 22, 2017 at 8:30 am

Viewing 4 reply threads


remery

March 22, 2017 at 8:30 am

A client called to tell me that she was having a problem registering for our event. She registered two people first and paid by credit card no problem. But when she tried to register five more people she received the following error message;

“An error has occurred:
Your form data could not be applied to any valid registrations.”

Any idea why this happened? She is holding the screen open with the hope that she will not have to re-do all these registrations that took her 45 minutes to fill out online.


Tony

  • Support Staff

March 22, 2017 at 9:44 am

Hi there,

45 minutes

Are you sure this time is accurate?

The reason I ask is by default the default session lifespan for registrations is 1 hour. So the user has a 1 hour session to select tickets, provide the details, submit the form and complete the payment, if they take longer than this the session will have expired and you will see the above error (which sounds like what may have happened here).

If you look within Event Espresso -> Registrations can you see the 5 registrations the admin was attempting to add to EE listed there or not?


remery

March 22, 2017 at 10:08 am

Hi Tony,

I will ask if this could be the case and let you know. Also, the registrations are not listed in Event Espresso> Registrations.


remery

March 22, 2017 at 11:30 am

Tony, She said that it might have been longer than 45 minutes so I suspect she timed out. I did not know about this 1 hour limit so I learned something, too. Thanks!


Tony

  • Support Staff

March 22, 2017 at 12:09 pm

There’s a filter available to change the ‘session lifespan’ if you want to.

For example something like this:

https://gist.github.com/Pebblo/ee5b686c56fef27dbccb08602821e582

Will set the session lifespan to 2 hours.

You can add that to either your themes functions.php file or preferably using a Custom Functions Plugin.

Unfortunately as the above registrations were submitted outside of the session you’ll need to restart the session and add those details again (add the above snippet to the site before selecting the tickets on the site so that the new lifespan is used on that session)

Viewing 4 reply threads

The support post ‘An error has occurred….’ 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