Title: Javascript Error in admin panel with load-scripts.php
Last modified: August 20, 2016

---

# Javascript Error in admin panel with load-scripts.php

 *  Resolved [sanjeetchand](https://wordpress.org/support/users/sanjeetchand/)
 * (@sanjeetchand)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-in-admin-panel-with-load-scriptsphp/)
 * After installing WordPress 3.1.3 and 3.1.4 I found out that the admin panel had
   JavaScript errors. This was triggered from the load-scripts.php file located 
   in wp-admin folder. To correct this error just check to see if the php closing
   tag identified by ?> is placed at the bottom of the load-scripts.php file. If
   it isn’t then just place this without brackets (?>) at the bottom. Hope this 
   helps Thanks 🙂

Viewing 1 replies (of 1 total)

 *  [irfanrahman](https://wordpress.org/support/users/irfanrahman/)
 * (@irfanrahman)
 * [14 years ago](https://wordpress.org/support/topic/javascript-error-in-admin-panel-with-load-scriptsphp/#post-2163679)
 * thanks a lot! this resolved my issue. Interestingly, I just downloaded fresh 
   copy of WP 3.3.1 zip file and opened wp-admin/load-scripts.php file and see same
   issue! This needs to be resolved in WP distribution.

Viewing 1 replies (of 1 total)

The topic ‘Javascript Error in admin panel with load-scripts.php’ is closed to new
replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [irfanrahman](https://wordpress.org/support/users/irfanrahman/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/javascript-error-in-admin-panel-with-load-scriptsphp/#post-2163679)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
