Title: CSS/JS not loading for admin panel
Last modified: October 7, 2020

---

# CSS/JS not loading for admin panel

 *  [reinisk22](https://wordpress.org/support/users/reinisk22/)
 * (@reinisk22)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/css-js-not-loading-for-admin-panel/)
 * 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](https://wordpress.org/support/users/reinisk22/).
    -  This topic was modified 5 years, 8 months ago by [reinisk22](https://wordpress.org/support/users/reinisk22/).
    -  This topic was modified 5 years, 8 months ago by [reinisk22](https://wordpress.org/support/users/reinisk22/).
    -  This topic was modified 5 years, 8 months ago by [reinisk22](https://wordpress.org/support/users/reinisk22/).

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

 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/css-js-not-loading-for-admin-panel/#post-13503871)
 * Hello [@reinisk22](https://wordpress.org/support/users/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://wordpress.org/plugins/enable-jquery-migrate-helper/](https://wordpress.org/plugins/enable-jquery-migrate-helper/)
 *  Thread Starter [reinisk22](https://wordpress.org/support/users/reinisk22/)
 * (@reinisk22)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/css-js-not-loading-for-admin-panel/#post-13503940)
 * Hey [@nm1com](https://wordpress.org/support/users/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](https://ibb.co/1qFVg1T)
 *  Thread Starter [reinisk22](https://wordpress.org/support/users/reinisk22/)
 * (@reinisk22)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/css-js-not-loading-for-admin-panel/#post-13503993)
 * [@nm1com](https://wordpress.org/support/users/nm1com/) I manage to deactivate
   the plugin. Are there any other suggestions you could give me maybe?
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/css-js-not-loading-for-admin-panel/#post-13507471)
 * 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://wordpress.org/plugins/health-check/](https://wordpress.org/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.wordpress.org/support/handbook/appendix/troubleshooting-using-the-health-check/](https://make.wordpress.org/support/handbook/appendix/troubleshooting-using-the-health-check/).
 *  Thread Starter [reinisk22](https://wordpress.org/support/users/reinisk22/)
 * (@reinisk22)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/css-js-not-loading-for-admin-panel/#post-13507956)
 * [@nm1com](https://wordpress.org/support/users/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](https://wordpress.org/support/users/reinisk22/).
    -  This reply was modified 5 years, 8 months ago by [reinisk22](https://wordpress.org/support/users/reinisk22/).
    -  This reply was modified 5 years, 8 months ago by [reinisk22](https://wordpress.org/support/users/reinisk22/).
    -  This reply was modified 5 years, 8 months ago by [reinisk22](https://wordpress.org/support/users/reinisk22/).
 *  [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * (@nm1com)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/css-js-not-loading-for-admin-panel/#post-13509103)
 * There are a few possible causes.
 * You can try to:
    - Use WP_Debug to get a list of errors: [https://codex.wordpress.org/WP_DEBUG](https://codex.wordpress.org/WP_DEBUG).
      Add the following code to your wp-config.php file: `define( 'WP_DEBUG', true);`.
      The debug mode may also help you uncover the original problems with the admin.
    - Review your server access and error log.
    - Check your file permissions: [https://wordpress.org/support/article/changing-file-permissions/](https://wordpress.org/support/article/changing-file-permissions/)

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [Niall Madhoo](https://wordpress.org/support/users/nm1com/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/css-js-not-loading-for-admin-panel/#post-13509103)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
