- January 3, 2020 at 7:26 am #25205
While doing search. I keep getting this error.
Tried disabling all plugins and changing to default wordpress themes. Nothing helps.
Could you please advice how to fix this?
Warning: The response data is missing from the ajax request! This could mean a server related issue.
Check your .htaccess configuration and try disabling all other plugins to see if the problem persists.January 3, 2020 at 9:50 am #25206
I just tried the search, but it seems to be working correctly: https://i.imgur.com/QDAkszj.png
I think, that the issue is that the site can be accessed via “http” and “https” protocols as well. If you try the search on both versions:Best,
Then it won’t work on the “http” version, because the server has a CORS policy to not allow some requests via the “HTTP” protocol to the secure version. The easiest solution would be to force everything to redirect to the “https” version. If you are using Cloudflare, you can set that up somewhere in the options.
There are also plugins for that, I think this article covers most possibilities.
If you like my products, don't forget to rate them on codecanyon :)
January 3, 2020 at 10:11 am #25207
Thanks for the quick response Ernest.
Enabled “Use the custom ajax handler?” option on compatibility tab and it seems to work fine now.
Earlier I used to get the error message after every 2, 3 searches. Now it looks fine.
Thanks again for looking into it.
You must be logged in to reply to this topic.