Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Error live search
This topic contains 11 replies, has 2 voices, and was last updated by Ernest Marcinko 2 years, 3 months ago.
- AuthorPosts
- December 18, 2020 at 5:25 pm #30811
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)
December 21, 2020 at 10:57 am #30831Hi,
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 :)
December 21, 2020 at 11:16 pm #30858Thanks, I transmitted this to WP Rocket, probably a problem with their latest version
December 22, 2020 at 11:21 am #30871Thank 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 :)
December 24, 2020 at 2:42 am #30901What 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
December 28, 2020 at 2:50 pm #30915by 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 :)
December 28, 2020 at 4:06 pm #30920No the problem is that the settings reset in the backend, but not all and not all the time
December 28, 2020 at 4:07 pm #30921Example : 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.
December 28, 2020 at 4:18 pm #30922There 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 :)
December 28, 2020 at 8:08 pm #30923redis ! But when I was on shared hosting it was the same
December 28, 2020 at 8:08 pm #30924Color of results changes almost eevery time. Result background too
December 29, 2020 at 10:59 am #30928It 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 :)
- AuthorPosts
You must be logged in to reply to this topic.