Title: JS errors after last updates
Last modified: August 11, 2022

---

# JS errors after last updates

 *  [jorro](https://wordpress.org/support/users/jorro/)
 * (@jorro)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/js-errors-after-last-updates/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjs-errors-after-last-updates%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [wpdreams](https://wordpress.org/support/users/wpdreams/)
 * (@wpdreams)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/js-errors-after-last-updates/#post-15906862)
 * Hi,
 * The issue is caused by a 3rd party script unfortunately. Let me explain.
    The
   default [Event interface](https://developer.mozilla.org/en-US/docs/Web/API/Event)
   is overwritten by a very old version of the [MooTools library version 1.11](https://mootools.net/blog/2007/06/04/mootools-version-111-released),
   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.

 * ![](https://ps.w.org/ajax-search-lite/assets/icon-256x256.png?rev=3192672)
 * [Ajax Search Lite - Live Search & Filter](https://wordpress.org/plugins/ajax-search-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-search-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-search-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-search-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-search-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-search-lite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [wpdreams](https://wordpress.org/support/users/wpdreams/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/js-errors-after-last-updates/#post-15906862)
 * Status: not resolved