• Georgi Popov

    (@magadanski_uchen)


    I updated to WordPress 5.5 today only to notice there’s a JS error in the admin panel (blocking JS on most admin panel pages).

    I tried turning off and on all of the plugins on my site and the error disappeared when disabling the Gutenberg plugin.

    I also updated the plugin today to version 8.7.1, but the JS error is still present.

    What I see in the browser console (running Chrome 85.0.4183.59 beta) is:

    Uncaught ReferenceError: wp is not defined
    at load-scripts.php?c=1&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,underscore,wp-util,wp-sanitize,updates,jquery-ui-core,thickbox,plugin-install,svg-pa&load[chunk_1]=inter,heartbeat,wp-auth-check,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-c&load[chunk_2]=olor-picker&ver=5.5:4
    at load-scripts.php?c=1&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,underscore,wp-util,wp-sanitize,updates,jquery-ui-core,thickbox,plugin-install,svg-pa&load[chunk_1]=inter,heartbeat,wp-auth-check,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-c&load[chunk_2]=olor-picker&ver=5.5:4

    The file is minified, but here’s the error for reference (formatted version; second-last line with G = wp.i18n.__):

    
    !function(V, q) {
        var B = V(document)
          , H = V(q)
          , Y = V(document.body)
          , G = wp.i18n.__;
        q.adminMenu = {
    
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘JS errors in admin panel, after updating to WordPress 5.5’ is closed to new replies.