Support

Home Forums Event Espresso Premium "You need to select at least one event before you can …" – caching IS off

"You need to select at least one event before you can …" – caching IS off

Posted: June 14, 2015 at 1:20 am


Finn Nielsen-Friis

June 14, 2015 at 1:20 am

YESTERDAY
1) After selecting tickets and clicking the button “Register now” for the event
http://www.axcademy.com/events/class-in-management-reporter-for-microsoft-dynamics-ax/
, I got the infamous “You need to select at least one event before you can proceed with the registration process.”
2) Reading a lot of posts, I contacted WP-engine to exclude some pages from being cached.
3) WP-Engine fixed that very quickly
4) Me re-testing, and it worked

TODAY
1) Me re-testing, and it doesn’t Work
2) Contacted WP-Engine just to reconfirm that the pages are still excluded from caching – which they are
3) I am lost

Please provide some ideas – or perhaps just the solution ๐Ÿ™‚


Dean

June 15, 2015 at 1:34 am

Hi,

Are all of these pages definitely added to the no cache rules?

/events/
/registration-checkout/
/transactions/
/thank-you/
/registration-cancelled/

We have seen it before where one or two got missed off.

Has the cache been purged after adding the pages to the no cache rules?


Finn Nielsen-Friis

June 15, 2015 at 9:27 am

Yes, I even double-checked with WP-Engine after still experiencing the error.

Just to make sure (sorry!) which case are you referring to?

Btw. today it actually worked perfectly fine a few times, but now not again…


Lorenzo Orlando Caum

  • Support Staff

June 15, 2015 at 10:17 am

Hi there Finn! I think I found the cause. If you used our no-cache article as a reference, then that is for a new installation of Event Espresso 4.

Your registration checkout page has a different slug:

/event-registration/

Could you double-check the slugs for your critical pages by logging into your WP dashboard and going to Event Espresso –> General Settings –> Critical Pages?

Then please follow up with WP Engine about updating the no-cache / exclusion rules. There is a sample message available here (see second example) that you can copy and paste into a support ticket:

https://gist.github.com/lorenzocaum/b83ef46259062202337d

Again be sure to double-check your slugs for your Event Espresso pages.


Lorenzo


Finn Nielsen-Friis

June 16, 2015 at 4:40 am

Thanks a lot. It actually seems to work.

I would never have sorted this out myself ๐Ÿ™‚

Just to be sure that I didn’t created another “challenge”:
* cloned the old Event Registration to a new page
* renamed this clone to Registration Checkout (and cleared the permalink, so it is now registration_checkout)
* changed the Critical Pages set-up (for Registration Checkout) to the clone

and it does actually seem to work.

Thank you so much for your help!

The support post ‘"You need to select at least one event before you can …" – caching IS off’ 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