Title: Broken Javascripts at Dashboard
Last modified: September 11, 2021

---

# Broken Javascripts at Dashboard

 *  Resolved [Pratyaksh](https://wordpress.org/support/users/pratyaksh99/)
 * (@pratyaksh99)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/broken-javascripts-at-dashboard/)
 * Hi,
 * None of Javascripts are working on the admin dashboard.
 * I am not able to upload media, the media page is empty.
    The products editing
   is not working and every other operations.
 * Please have a look at the below screenshots.
    [https://ibb.co/7WBCG5v](https://ibb.co/7WBCG5v)
   [https://ibb.co/DCbx6gq](https://ibb.co/DCbx6gq) [https://ibb.co/8MJfNhD](https://ibb.co/8MJfNhD)
   [https://ibb.co/Wvt1PLF](https://ibb.co/Wvt1PLF) [https://ibb.co/WVKstjg](https://ibb.co/WVKstjg)
 * Things I tried:
    1) Deactivated all caching plugins, 2) Deactivated all plugins
   to test.
 * The results are same.
 * Please help me with a solution for this.
 * Regards
    Pratyaksh
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbroken-javascripts-at-dashboard%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/broken-javascripts-at-dashboard/#post-14862242)
 * Try [downloading WordPress](https://wordpress.org/download/) again, access your
   server via [SFTP or FTP](https://wordpress.org/support/article/ftp-clients/),
   or a file manager in your hosting account’s control panel (consult your hosting
   provider’s documentation for specifics on these), and delete then replace your
   copies of everything on the server **except** the wp-config.php file and the /
   wp-content/ directory with fresh copies from the download. This will effectively
   replace all of your core files without damaging your content and settings.
 * Some uploaders tend to be unreliable when overwriting files, so don’t forget 
   to delete the original files before replacing them.
 *  Thread Starter [Pratyaksh](https://wordpress.org/support/users/pratyaksh99/)
 * (@pratyaksh99)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/broken-javascripts-at-dashboard/#post-14862266)
 * Hello James,
 * Thanks for the prompt response.
    I forgot to mention, I also did below also:
 * 1) tried to re-install wordpress
    2) tried to roll back.
 * Nothing worked.
    I removed below lines from my child theme functions.php and 
   voila the admin is back.
 * //firebase from defer
    function add_defer_to_cf7( $url ) { //If not js file OR
   js file with ‘jquery.ui.core.min’ OR ‘jquery.min’ name string, then no need to
   apply defer if(FALSE === strpos( $url, ‘.js’) || ((strpos( $url, ‘firebase-app’)
   > 0) || (strpos($url, ‘firebase-auth’) > 0))){ return $url; } else{ //set defer
   for .js files return “$url’ defer=’defer”; } } add_filter( ‘clean_url’, ‘add_defer_to_cf7’,
   11, 1 );
 * Actually I was looking to remove firebase.js from the list of defered js. And
   this actually worked at front end, but not at backend.
 * Regards
    Pratyaksh

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

The topic ‘Broken Javascripts at Dashboard’ is closed to new replies.

## Tags

 * [admin broken](https://wordpress.org/support/topic-tag/admin-broken/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Pratyaksh](https://wordpress.org/support/users/pratyaksh99/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/broken-javascripts-at-dashboard/#post-14862266)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
