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 month, 1 week ago.

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

    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!

    #40633
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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: wp-content/plugins/PW-Blog-Builder-For-VC/js/lightbox/mootools.js

    Best,
    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.