Title: 5.0 and script-loader.php error message
Last modified: December 11, 2018

---

# 5.0 and script-loader.php error message

 *  Resolved [Ste7en](https://wordpress.org/support/users/ste7en/)
 * (@ste7en)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/5-0-and-script-loader-php-error-message/)
 * Hi.
 * I’m getting a ‘Fatal Error…/script-loader.php on line 2385’ message on one of
   my sites since updating to 5.0 but I have no idea why this site and none of my
   others.
 * I’m not sure what is going on so any help would be greatly appreciated as I can’t
   even access the dashboard 🙁

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

 *  [nelson2018](https://wordpress.org/support/users/nelson2018/)
 * (@nelson2018)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/5-0-and-script-loader-php-error-message/#post-10973902)
 * Hello Ste7en,
 * I might be able to point you in the right direction.
 * Please try to access your server via SFTP or FTP, or a file manager in your hosting
   account’s control panel! Then contact your hosting provider’s documentation on
   this specifically!
 * Please then navigate to /wp-content/plugins/ and delete the whole /wordpress-
   popup/ directory.
 * This will remove the plugin causing the fetal error problem.
 * I hope this points yu in the right direction.
 * Warmest greetings,
 * Nelson
 *  Thread Starter [Ste7en](https://wordpress.org/support/users/ste7en/)
 * (@ste7en)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/5-0-and-script-loader-php-error-message/#post-10973958)
 * Hi Nelson.
 * Thanks for the reply but there is no wordpress-popup directory in the plugins
   folder 🙁
 * …/wp-includes/script-loader.php on line 2385
    -  This reply was modified 7 years, 5 months ago by [Ste7en](https://wordpress.org/support/users/ste7en/).
 *  Thread Starter [Ste7en](https://wordpress.org/support/users/ste7en/)
 * (@ste7en)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/5-0-and-script-loader-php-error-message/#post-11007953)
 * Hi.
 * Well, I’ve had a look at the script-loader.php document and line2385 is:
 *  if ( is_admin() && ( $current_screen instanceof WP_Screen ) && ! $current_screen-
   >is_block_editor() ) {
    return;
 * Any ideas?
 *  [toufikforu](https://wordpress.org/support/users/toufikforu/)
 * (@toufikforu)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/5-0-and-script-loader-php-error-message/#post-11018458)
 * I have the same problem. Is there anyone can help me ?
 *  [andreaigv](https://wordpress.org/support/users/andreaigv/)
 * (@andreaigv)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/5-0-and-script-loader-php-error-message/#post-11034250)
 * I have the same problem to log into my dashboard… any ideas? The code is:
 *  if ( is_admin() && ( $current_screen instanceof WP_Screen ) && ! $current_screen-
   >is_block_editor() ) {
    return; }
 *  Thread Starter [Ste7en](https://wordpress.org/support/users/ste7en/)
 * (@ste7en)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/5-0-and-script-loader-php-error-message/#post-11051264)
 * Well, I’m still stuck. I have edits piling up for the site as well.
 * I removed all the plugin folders but this made no difference.
 * It has been suggested I reinstall WP, but I’ve no idea how to do this on a live
   site on which I need to keep all the content… and I can’t even access the dashboard.
 *  [m22386](https://wordpress.org/support/users/m22386/)
 * (@m22386)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/5-0-and-script-loader-php-error-message/#post-11075413)
 * Can you check your php version because the new WordPress has new requirements
   for your LAMP
 * We recommend servers running version 7.3 or greater of PHP and MySQL version 
   5.6 OR MariaDB version 10.0 or greater.
 * let me know if this didn’t work but it seems that it doesn’t work on 7.2 or below
 *  [m22386](https://wordpress.org/support/users/m22386/)
 * (@m22386)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/5-0-and-script-loader-php-error-message/#post-11075908)
 * if everything updated and still you meet the same issue please make sure to upload
   the new themes within your wordpress folder and then edit your script-loader.
   php file :
    line 2385 remove ” && ! $current_screen->is_block_editor() ” save
 * it should work 🙂
 *  Thread Starter [Ste7en](https://wordpress.org/support/users/ste7en/)
 * (@ste7en)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/5-0-and-script-loader-php-error-message/#post-11085875)
 * Thank you [@m22386](https://wordpress.org/support/users/m22386/) it worked!
 * I’m in and I can access the dashboard. One happy bunny 🙂
 * Thank you so much.

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

The topic ‘5.0 and script-loader.php error message’ is closed to new replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [php error message](https://wordpress.org/support/topic-tag/php-error-message/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 5 participants
 * Last reply from: [Ste7en](https://wordpress.org/support/users/ste7en/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/5-0-and-script-loader-php-error-message/#post-11085875)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
