WordPress Fehler – select all im Admin WordPress 5.5 funktioniert nicht – Cherry Framework

Hier ein Bug/Fehler bei WordPress 5.5. Die "alle auswähl"-Funktion ist defekt. Jedoch ist die Ursache aktuell unklar.

Die Console zeigt folgende Fehler an

jquery.custom.admin.js?ver=5.5:5 Uncaught TypeError: jQuery(...).live is not a function
at HTMLDocument.<anonymous> (jquery.custom.admin.js?ver=5.5:5)
at i (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=5.5:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=5.5:2)
at Function.ready (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=5.5:2)
at HTMLDocument.J (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=5.5:2)

wp-auth-check.min.js?ver=5.5:2 Uncaught TypeError: Cannot read property 'hasClass' of undefined
at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.5:2)
at HTMLDocument.dispatch (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=5.5:3)
at HTMLDocument.r.handle (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=5.5:3)
at Object.trigger (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=5.5:3)
at HTMLDocument.<anonymous> (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=5.5:3)
at Function.each (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=5.5:2)
at n.fn.init.each (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=5.5:2)
at n.fn.init.trigger (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=5.5:3)
at Object.<anonymous> (load-scripts.php?c=0&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,jquery-ui-widget,jquery-ui-position,wp-pointer,heartbeat,autosave,wp-ajax-response,j&load[chunk_1]=query-color,wp-lists,quicktags,jquery-query,admin-comments,suggest,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,postbox,jqu&load[chunk_2]=ery-ui-menu,jquery-ui-autocomplete,tags-suggest,tags-box,word-count,clipboard,post,editor-expand,thickbox,shortcode,wp-backbone,&load[chunk_3]=media-models,wp-plupload&ver=5.5:35)
at i (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=5.5:2)

Bei einem Klick auf Link-Einstellung erscheint diese Fehlermeldung

wplink.min.js?ver=5.5:2 Uncaught TypeError: Cannot read property 'show' of undefined
at Object.open (wplink.min.js?ver=5.5:2)
at i.onclick (plugin.min.js?wp-mce-49100-20200624:1)
at mp.c.fire (tinymce.min.js?ver=49100-20200624:2)
at i.fire (theme.min.js?wp-mce-49100-20200624:1)
at HTMLDivElement.o (theme.min.js?wp-mce-49100-20200624:1)
at C (tinymce.min.js?ver=49100-20200624:2)
at HTMLDivElement.d (tinymce.min.js?ver=49100-20200624:2)

Ein ähnlicher Fehler tratt hier auf und wurde vom Support des Plugins bereits gelöst

https://wordpress.org/support/topic/error-in-console-after-wp-5-5-update/

Lösung für den JQuerry Fehler

Datei: wp-content\plugins\cherry-plugin\admin\js\upload-media-files.js

Ursache ist Zeile: 2

jQuery('.upload_image_button').live('click', function () { 

Die Funktion .live() wird ab JQuerry 1.9 nicht mehr unterstützt

vgl. https://stackoverflow.com/questions/14354040/jquery-1-9-live-is-not-a-function

Somit ist die Lösung

jQuery('.upload_image_button').live('click', function () { 

Anpassen zu

jQuery('.upload_image_button').on('click', 'null', function() {

 

Mehr Informationen zu WordPress Betreuung

 

Noch keine Kommentare bis jetzt

Einen Kommentar schreiben