This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Warning popup during search

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Warning popup during search

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25205
    arunchuck76arunchuck76
    Participant

    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.

    #25206
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    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:
    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.

    #25207
    arunchuck76arunchuck76
    Participant

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.