Tell us what you are trying to do? I was having a problem with permissions for search results (searching by author triggered a "You do not have access to this page message) and traced that back to Defender Pro plugin. The makers of the plugin did some troubleshooting and found that if they switched from “Full page refresh when visitors click on search button” to “Ajax result update when visitors click on search button” on the Op-Ed archive page fixed the error message but also broke the search results layout. So it seems there was a conflict with Defender and the page refresh that was happening. Additionally, I'm seeing a warning on the backend of the op-ed page (see screenshot). I'm wondering if this is related and how I can fix that.
staging.wildearthguardians.org/op-eds
password: Wild!
and then you have to search to see the broken layout
Hello,
I have checked the URL you mentioned above, but don't see the problem.
And Toolset AJAX search feature is using wordpress built-in AJAX URL to send the request, for example:
hidden link
You will need to check the plugin author of Defender Pro plugin, check how to allow user to use above URL in your website, and I have searched it in google, found the solution in below thread:
hidden link
For your reference.
More help:
https://codex.wordpress.org/AJAX_in_Plugins
Hi I think we have it backwards. Switching TO Ajax fixes the conflict with Defender, but breaks the search results layout. Please see screenshots.
Can you please also respond about the warning I'm seeing on the back end of the archive page (screenshot in first message), which may or may not be related?
Thank you
I have checked your website page again:
staging.wildearthguardians.org/op-eds
But I see a lots of JS errors in it, see my screenshot JS-error-5.JPG
Those JS errors are from other plugins, you need to fixe them first, it will prevent AJAX from working.
Did you can contact Defender Pro support for how to exclude wp-admin/admin-ajax.php from their plugin?
My issue is resolved now. Thank you!