Error live search

This topic contains 11 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 2 years, 3 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #30811
    genuinetickling76
    genuinetickling76
    Participant

    Hello,

    I get this on my livea search after a long time :

    Ajax Search Pro 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.

    It was working fine and the only thing I changed was to deliver WEBP image via imagify and wp rocket (failed so I rollbacked)

    #30831
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    It is an issue with WP Rocket, it adds a function scope around localized scripts (for late loading), however it completely breaks the variable scope, and those variables are unusable if the timing is incorrect. I am seeing multiple issues caused by that on the error console: https://i.imgur.com/A3QFXbK.png

    Try looking for an option within WP rocket to disable javascript deffering or some sort of a late js loading feature, and turn that off.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #30858
    genuinetickling76
    genuinetickling76
    Participant

    Thanks, I transmitted this to WP Rocket, probably a problem with their latest version

    #30871
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thank you, I hope they can clarify – maybe we are doing something wrong as well, but those function wrapped codes look very problematic to me.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #30901
    genuinetickling76
    genuinetickling76
    Participant

    What solved the problem is disabling their defer JS function, they told me to try to disable defer for only one JS file but that didn’t work

    by the way your plug in really bugs when you change theme option, some values reset and it takes a lot of patience to have what you want

    #30915
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    by the way your plug in really bugs when you change theme option, some values reset and it takes a lot of patience to have what you want

    Does this happen on the back-end preview window or on the front-end of the site? If the front-end, then it is the site/page/style/asset/cdn/browser cache. Unfortunately there is nothing we can do about those. In similar cases I usually recommend turning off the cache while the styling set up, and then clearing and re-enabling it.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #30920
    genuinetickling76
    genuinetickling76
    Participant

    No the problem is that the settings reset in the backend, but not all and not all the time

    #30921
    genuinetickling76
    genuinetickling76
    Participant

    Example : if I click on theme option to just change one thing, maybe the colors will revert to blue instead of red, but I just changed thee search input text to be bold.

    #30922
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    There is a security nonce implemented there – theoretically, if you wait some time (it should be like 2-4 hours) between opening the options and saving them, then it is possible the options does not save.
    Otherwise it might be a server related issue, especially if it is not possible to replicate it a 100% of the time. Check if you have any object, memcache or any other database related cache active.

    Let me know if you find a specific option that malfunctions every time, or a specific setup, which is possible to replicate somehow.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #30923
    genuinetickling76
    genuinetickling76
    Participant

    redis ! But when I was on shared hosting it was the same

    #30924
    genuinetickling76
    genuinetickling76
    Participant

    Color of results changes almost eevery time. Result background too

    #30928
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    It can be the browser cache as well – try reloading the page a few times by hitting CTRL + SHIFT + R when on the front-end, that usually clears the browser asset cache for that page.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.