Title: Plugin Broken by WordPress5.5
Last modified: August 21, 2020

---

# Plugin Broken by WordPress5.5

 *  [LordGoran](https://wordpress.org/support/users/lordgoran/)
 * (@lordgoran)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/plugin-broken-by-wordpress5-5/)
 * Since I updated to wordpress5.5 I’ve been having issues with many of my plugins
   needing to update their code. The error is reported as “jquery.fn.live() is deprecated”.
 * In the meta-template.php file in this plugin, on line 90…
 * This line:
    jQuery(‘.menu-item-has-children input[type=checkbox]’).live(‘click’,
   function() {
 * Needs to be edited to:
    jQuery(‘.menu-item-has-children input[type=checkbox]’).
   on(‘click’, function() {
 * This edit seems to have corrected my issue.
    Maybe it will help- with yours too.
 * Goran

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Konstantinos Raktivan](https://wordpress.org/support/users/constracti/)
 * (@constracti)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/plugin-broken-by-wordpress5-5/#post-13381269)
 * I verify LordGoran’s statement
 * according to [jQuery documentation](https://api.jquery.com/live/)
 * > Note: This API has been removed in jQuery 1.9; please use on() instead.
 *  [Zarausto](https://wordpress.org/support/users/zarausto/)
 * (@zarausto)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/plugin-broken-by-wordpress5-5/#post-13415434)
 * Hello Author, jQuery().live must be changed to jQuery().on as WordPress stopped
   support do jquery-migrate on versions 5.5+
 * This is causing block to plugins like WpBakery.
 * Quick fix:
    example.com/wp-admin/plugin-editor.php?file=page-menu%2Fmeta-template.
   php&plugin=page-menu%2Fpagemenu.php
 * On line 90 change:
    jQuery(‘.menu-item-has-children input[type=checkbox]’).live(‘
   click’, function() { to jQuery(‘.menu-item-has-children input[type=checkbox]’).
   on(‘click’, function() {
 *  [miguel1970](https://wordpress.org/support/users/miguel1970/)
 * (@miguel1970)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/plugin-broken-by-wordpress5-5/#post-13461746)
 * I had the same problem. [@zarausto](https://wordpress.org/support/users/zarausto/)
   fix solved it perfectly. Thank you! Let’s hope the author fix it too in the next
   update.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin Broken by WordPress5.5’ is closed to new replies.

 * ![](https://ps.w.org/page-menu/assets/icon-256x256.png?rev=1447139)
 * [PageMenu](https://wordpress.org/plugins/page-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/page-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-menu/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [miguel1970](https://wordpress.org/support/users/miguel1970/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/plugin-broken-by-wordpress5-5/#post-13461746)
 * Status: not resolved