Only just noticed this, so can’t say for certain that it has only just started happening… but when I click ‘Add to cart’ from the Event Registration page the Ajax loader icon just keeps spinning for ever and nothing happens. If I refresh the page, the item has been added to the cart and I can click ‘View Cart’ When I’m in the cart, though, the same thing happens with the ‘Total’ indicator – an endlessly spinning loading icon. NOTE: this DOESN’T happen if I’m logged in as admin, but does with other logins or not logged in at all.
I’m using WP 3.8 and EE 3.1.36.1.P
This topic was modified 10 years, 10 months ago by Matthew Prudente.
Is your site hosted on WPEngine? If so this is a caching issue that can be resolved by contacting WPEngine support and let them know which pages you need to be served dynamically (which in this case are any of the pages where Event Espresso uses AJAX).
If it’s not hosted on WPEngine, it could still be a caching issue if you have caching plugins installed.
Or another possibility is the WordPress Ajax handler file has been restricted to non-admins via a security plugin or a custom .htaccess rule. If this is the case, then here’s a guide that shows how to whitelist the Ajax handler:
I don’t think it’s that. I have 2 instances running, one locally on a Mac (OSX 10.8.5, MAMP Pro, VirtualHostX) and one on a remote Windows Server 2008 R2 (IIS7.5 etc), and both display the same problem: Event Espresso Ajax *only* works when logged in as admin, but I haven’t added any plugins or made any changes relating to caching.
I’ve just manually updated to the latest version of Event Espresso and the problem has gone away!
Thanks.
Viewing 4 reply threads
The support post ‘Event Registration Ajax not working unless logged in’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.