Title: Media Library Broken in 4.5, JavaScript errors in load-scripts.php
Last modified: August 31, 2016

---

# Media Library Broken in 4.5, JavaScript errors in load-scripts.php

 *  [derrikeg](https://wordpress.org/support/users/derrikeg/)
 * (@derrikeg)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/media-library-broken-in-45-javascript-errors-in-load-scriptsphp/)
 * I created a brand new installation alongside my current one, and even without
   any plugins or themes installed, I was not able to navigate the media library
   due to a javascript error.
 * The only thing I shared between the two sites was:
    - images in the uploads folder
    - the database
    - settings for the database in wp-config.php
 * I followed the instructions on the debugging javascript errors page, but, unfortunately
   adding:
    `define('SCRIPT_DEBUG', true);` To `wp-config.php` fixed the issue.
 * I don’t know how, or why. I just know that it works now.

The topic ‘Media Library Broken in 4.5, JavaScript errors in load-scripts.php’ is
closed to new replies.

## Tags

 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)
 * [load-scripts.php](https://wordpress.org/support/topic-tag/load-scripts-php/)
 * [media library](https://wordpress.org/support/topic-tag/media-library/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [derrikeg](https://wordpress.org/support/users/derrikeg/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/media-library-broken-in-45-javascript-errors-in-load-scriptsphp/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
