Results Not Returning After Update

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 Ernest Marcinko 1 year, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #40632

    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.

    Thank You!

    Ernest Marcinko
    Ernest Marcinko


    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:

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

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

You must be logged in to reply to this topic.