Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Results Not Returning After Update
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 1 month, 1 week ago.
- AuthorPosts
- December 22, 2022 at 4:48 pm #40632
Hello,
After upgrading to the latest version from 2 small prior releases ago the plugin stops returning results.
I see a JS error in the console but not sure if that is the cause.https://grcmainstg.wpengine.com/learning-center/
Thank You!
December 22, 2022 at 5:10 pm #40633Hi,
Thank you for the details!
The issue is caused by a custom javascript library (mootools), which overrides the browser native window.Event object, causing it to malfunction. Usually that library is used for very old cross browser compatibility, but it is probably very outdated.
When I try to run an example code from the actual MDN web API, it triggers the error too: https://i.imgur.com/Y6rFdYx.png
The plugin also uses a single line of a code to trigger an Event, where the script stops with a fatal error triggered by the mootools Event override. Unfortunately we can’t do anything from the plugin perspective to stop this in any way, as it simply overrides the original browser native code.
If you remove that script, everything will be resolved. Updating it could work too. It originates from this directory, if it helps:
Best,wp-content/plugins/PW-Blog-Builder-For-VC/js/lightbox/mootools.js
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.