• After updating to the last two patches (incl. 4.10.2), I now get the following JS errors on page load. The UI of the search bar is non-functional and no ajax calls are being made on either pressing enter or the search button. My WP is 4.9.xx but the plugin is still listed as compatible beyond WP 3.5.

    VM988:1 Uncaught TypeError: Cannot read properties of undefined (reading 'nodeType')
        at klass.initialize (eval at <anonymous> (mootools.v1.11.js?ver=1.4:3:1), <anonymous>:1:21153)
        at new klass (eval at <anonymous> (mootools.v1.11.js?ver=1.4:3:1), <anonymous>:1:2714)
        at asl-prereq.js?ver=4753:23:167
        at asl-prereq.js?ver=4753:23:202
    asl-wrapper.js?ver=4753:10
    
    Uncaught TypeError: window.WPD.intervalUntilExecute is not a function
        at window._ASL_load (asl-wrapper.js?ver=4753:10:73)
        at asl-wrapper.js?ver=4753:10:275
        at asl-wrapper.js?ver=4753:10:354

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    The issue is caused by a 3rd party script unfortunately. Let me explain.
    The default Event interface is overwritten by a very old version of the MooTools library version 1.11, which is over 15 years old, which is used for a gallery script in your site.
    When that library was released, the window.Event interface did not exist yet. That interface is currently native to all browsers using ES5 or higher standards, it has been for over 10 years.

    The best course of action here is to remove that deprecated code, as it will cause issues in other scripts as well – as the Event interface is widely used.

    I can try to change to an different interface in the upcoming release, that will circumvent the issue, but it will not resolve the core problem – that is, the native core Event interface should not be changed at all.

    Best,
    Ernest M.

Viewing 1 replies (of 1 total)

The topic ‘JS errors after last updates’ is closed to new replies.