Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Error live search
- This topic has 11 replies, 2 voices, and was last updated 5 years, 5 months ago by
Ernest Marcinko.
-
AuthorPosts
-
December 18, 2020 at 5:25 pm #30811
genuinetickling76
ParticipantHello,
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 #30831Ernest Marcinko
KeymasterHi,
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.
December 21, 2020 at 11:16 pm #30858genuinetickling76
ParticipantThanks, I transmitted this to WP Rocket, probably a problem with their latest version
December 22, 2020 at 11:21 am #30871Ernest Marcinko
KeymasterThank you, I hope they can clarify – maybe we are doing something wrong as well, but those function wrapped codes look very problematic to me.
December 24, 2020 at 2:42 am #30901genuinetickling76
ParticipantWhat 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 #30915Ernest Marcinko
Keymasterby 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.
December 28, 2020 at 4:06 pm #30920genuinetickling76
ParticipantNo 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 #30921genuinetickling76
ParticipantExample : 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 #30922Ernest Marcinko
KeymasterThere 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.
December 28, 2020 at 8:08 pm #30923genuinetickling76
Participantredis ! But when I was on shared hosting it was the same
December 28, 2020 at 8:08 pm #30924genuinetickling76
ParticipantColor of results changes almost eevery time. Result background too
December 29, 2020 at 10:59 am #30928Ernest Marcinko
KeymasterIt 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.
-
AuthorPosts
- You must be logged in to reply to this topic.