Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Event Registration Ajax not working unless logged in | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Event Registration Ajax not working unless logged in

Event Registration Ajax not working unless logged in

Posted: January 9, 2014 at 1:33 pm

Viewing 4 reply threads


Robin Nicholl

January 9, 2014 at 1:33 pm

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


Josh

January 9, 2014 at 1:45 pm

Hi Robin,

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:

http://kuttler.eu/post/htaccess-protect-wordpress-admin/


Robin Nicholl

January 10, 2014 at 4:30 am

Hi Josh

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.


Robin Nicholl

January 10, 2014 at 4:32 am

NB: I am using various plugins, but none which, to my knowledge at least, affect caching.


Robin Nicholl

January 10, 2014 at 5:37 am

Hi Josh

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.

Event Espresso - Staging Server