Posted: February 2, 2017 at 10:01 am
|
Hello, I currently have an event open for registration but since an event espresso plugin update the other day, when a user wants to add a ticket to the cart, they get the following error: An error has occurred: Any idea what is causing it? Need to fix it ASAP. Currently running Version 4.9.29.p |
Caching could cause this. Can you go to the W3 Total cache settings and make sure that object caching and database caching are both deactivated? |
|
|
Thanks for the reply. I checked and they are both disabled. |
You can also increase the amount of memory available for WordPress by following this guide: |
|
|
I will check the config but this is a dedicated server with 4 vCPU and 6 GB of RAM with only this website running on it. Traffic is low and the second ticket option for this same event works fine…. |
Sometimes there can be a bottleneck for the amount of memory allocated to WordPress, where the server has plenty of memory. Are you consistently seeing the first ticket option not working? Please try the encoding option before you test again. |
|
|
OK, so I tried the modified config and it’s still not working… Any other ideas? |
Do you have access to the server error logs? If so can you check if any errors are being thrown by EE. Or if you enable WP_DEBUG on the site we can run a test registration and see if any errors are being thrown during the request. When logged into the site can you purchase both a member and non member ticket or does that error show for each? |
|
|
Hi, With WP_DEBUG enabled I get the following info below what I usually get:
In the Apache error log I get this:
|
|
Tony, the member ticket works, just not the non-member. |
Thank you, knowing the error message is very helpful. So apparently there’s a bug in the 1) You go into the event editor and go to the box where you can edit the tickets I’m working on making a ticket for the developer of the ticket selector so they can rework the broken logic there. |
|
|
Super, it worked! |
Glad to hear. We’ll update this topic when a fix is ready. |
|
We are also having this problem. I tried the solution posted here, to drag it to the bottom, but it didn’t help. We are actively taking registrations, can you help? (two “webmaster” tickets there for .01 cent each that you can try). I also tried an incognito window and purging cache from WP Engine settings. Didn’t work. |
|
Hi Johanna, Can you try moving the “Regular Admission” ticket to the top of the ticket list? |
|
Hi Josh, that allows only “regular admission” to work, but not the ones I mentioned that give the error. |
|
Can you move the other tickets to a position higher up the list? |
|
Hi, no, I rearranged them and still can’t buy some tickets. |
|
Just so you know, after I re-arranged the tickets, the pricing went all wonky. If I selected a “regular student” ticket at 64.99, when I clicked to proceed, the registration showed for being “regular registration” for $115. I re-arranged them again and the student ticket seems ok now. But I’m worried this will now affect all our members who are logged in trying to purchase tickets. For one, they might get this error. Or, the price might not be right when they try to checkout, as it will take them to a ticket checkout area that is not for their ticket. Can you help with this as soon as possible? |
|
Hi Johanna, I checked your event page again and when I select the 64.99 ticket, that’s what I get on the next page. You may have had the $115 ticket already in the cart. Can you try selecting the 64.99 ticket again, after you’ve cleared the browser’s cache? |
|
Hi Josh, it works because I had to put it back so that people could register. Right now, the member and non-member pricing is defaulting to $160. So it’s still not right. I don’t see how having anything in the cart should affect this – what if people want to go back and change their selection? To be honest, we need a really fast solution to this, even if it is temporary. Can you send us a previous version of EE4 where this is not an issue? Or advise us on reverting? Would this help? Or is another solution coming? I would set up a staging site for you to test, but we are on WP Engine and your plugin doesn’t work on our staging environment. I have written about this twice, and was told it was solved. But its not on our end. I haven’t tried with the latest version of EE4 though. |
|
To be honest, I don’t understand what you mean by “put it back”, the member and non-member pricing is defaulting to $160, and “it’s still not right”. Can you explain?
How would they go back and change their selections?
There’s a possible fix to this (although I can’t say for sure it’s the fix for the problem because it’s not clear to me what’s getting switched and what you meant by defaulting), and it’s included in the release candidate, which you can download here: https://github.com/eventespresso/event-espresso-core/archive/master.zip |
|
Hi Josh,
–> earlier you asked me to drag tickets around, moving some to the top, etc. When I did that, that’s when the pricing issue happened. People would click on a $64 ticket, and then click on “register now”, and the next page would tell them their ticket was $115. So when I dragged the $64 ticket back to where it was before you asked me to move things around, which was for fixing the error message, then the pricing issue didn’t work. You could then select the $64 ticket and see that on the page after hitting “register now”. But dragging tickets around seemed to affect the pricing of multiple tickets, which is why I’m saying the member tickets are still off. They should not come to $115 after selecting them, and clicking on “register now.” And member tickets can only be clicked on by certain user roles that are logged in. So you wouldn’t be able to test this on your end unless we set up member accounts for you.
The back button on their browser Let me know if this helps clarify things. |
|
If they are actually hitting the back button on their browser to change things, you’ll find that’s not going to be effective to change their ticket selections. Instead, you can put a link to the registration cancelled page and that will clear the cart. The fix is not included in 4.9.30.p, it’s included in the release candidate (4.9.31.rc) |
|
4.9.31.p was released today with this fix. |
|
The support post ‘A valid ticket could not be retrieved for the event.’ 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.