Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Warning popup during search
This topic contains 2 replies, has 2 voices, and was last updated by arunchuck76 3 years, 4 months ago.
- AuthorPosts
- January 3, 2020 at 7:26 am #25205
Hi,
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 #25206Hi,
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,
HTTPS: https://recovendor.com/
HTTP: http://recovendor.com/
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.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
January 3, 2020 at 10:11 am #25207Thanks 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.
- AuthorPosts
You must be logged in to reply to this topic.