SPB is breaking AJAX for non-logged in users
-
I use this plugin on many sites(over 500). All of them that are utilizing ajax have the same issue. Even with every option in SPB disabled, it still breaks. It works fine if you are logged in, but it does not work for non-logged in users.
This is not an issue with my code performing the ajax requests. I have both the wp_ajax_ and wp_ajax_nopriv calls and it was working on all sites previously. Disabling SPB is the only solution I have found.
Whenever a non-logged in user performs an ajax request, the request gets redirected to /wp-admin/admin.php?page=spb-settings, which then gets redirected to /wp-login.php. Not sure why this would be happening, but it is breaking every AJAX request.
I have created a sandbox environment with a copy of one of the sites we are having the issue with. All plugins except for ACF Pro and SPB are disabled. Every setting in SPB is set to disabled.
The page I need help with: [log in to see the link]
- The topic ‘SPB is breaking AJAX for non-logged in users’ is closed to new replies.