• Hey,

    My orgs WP site has been running for a few years not however now it seems like something is broken.
    The admin panel doesn’t load CSS/JS properly. I get several console errors when opening pages like

    chosen.js?ver=1.1:10 Uncaught TypeError: Cannot read property 'msie' of undefined
        at n.fn.init.chosen (chosen.js?ver=1.1:10)
        at HTMLDocument.<anonymous> (generator.js?ver=1.1:5)
        at i (jquery.js?ver=1.12.4-wp:2)
        at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
        at Function.ready (jquery.js?ver=1.12.4-wp:2)
        at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
    
    
    wp-auth-check.min.js?ver=5.5.1:2 Uncaught TypeError: Cannot read property 'hasClass' of undefined
        at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.5.1:2)
        at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
        at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
        at Object.trigger (jquery.js?ver=1.12.4-wp:3)
        at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4-wp:3)
        at Function.each (jquery.js?ver=1.12.4-wp:2)
        at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
        at n.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
        at Object.<anonymous> (heartbeat.min.js?ver=5.5.1:2)
        at i (jquery.js?ver=1.12.4-wp:2)
    
    

    The admin panel is basically unusable at the moment. I tried disabling plugins but that didn’t change anything, please help

    • This topic was modified 5 years, 8 months ago by reinisk22.
    • This topic was modified 5 years, 8 months ago by reinisk22.
    • This topic was modified 5 years, 8 months ago by reinisk22.
    • This topic was modified 5 years, 8 months ago by reinisk22.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello @reinisk22,

    It seems to me like there are some plugins and a theme that uses older code. These plugins and themes may not work correctly after the WordPress 5.5 update.

    The following plugin should fix this issue and give the plugins and themes developers time to update their code: https://ww.wp.xz.cn/plugins/enable-jquery-migrate-helper/

    Thread Starter reinisk22

    (@reinisk22)

    Hey @nm1com

    I just installed the plugin, but the little CSS/JS my admin panel had completely disappeared and I can’t even get to uninstalling it, any way to revert this install?

    Screen shot of the panel

    Thread Starter reinisk22

    (@reinisk22)

    @nm1com I manage to deactivate the plugin. Are there any other suggestions you could give me maybe?

    In that case, you may have a plugin or theme conflict.

    Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable the plugins one by one to identify the source of your troubles.

    If you can install plugins, install and activate Health Check: https://ww.wp.xz.cn/plugins/health-check/
    It will add a new feature under Tools > Site Health.
    On its Troubleshooting tab, you can Enable Troubleshooting Mode. This mode will disable all plugins, switch to a standard WordPress theme (if available), allow you to turn your plugins on and off, and switch between themes, without affecting normal visitors to your site. Following these steps allows you to test for various compatibility issues.

    There’s a more detailed description about how to use the Health Check plugin and its Troubleshooting Mode at https://make.ww.wp.xz.cn/support/handbook/appendix/troubleshooting-using-the-health-check/.

    Thread Starter reinisk22

    (@reinisk22)

    @nm1com Hey, thanks for the help!

    I installed the health-check tool and wanted to use the troubleshooting mode, but I discovered that whenever I try to use the troubleshooting mode for any of the plugins I use, I get the message: Sorry, you are not allowed to access this page.

    Do you know what could be the reason for this?

    • This reply was modified 5 years, 8 months ago by reinisk22.
    • This reply was modified 5 years, 8 months ago by reinisk22.
    • This reply was modified 5 years, 8 months ago by reinisk22.
    • This reply was modified 5 years, 8 months ago by reinisk22.

    There are a few possible causes.

    You can try to:

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

The topic ‘CSS/JS not loading for admin panel’ is closed to new replies.