Title: wp-admin/edit.php not loading
Last modified: August 30, 2016

---

# wp-admin/edit.php not loading

 *  [summer01](https://wordpress.org/support/users/summer01/)
 * (@summer01)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/)
 * When I got to ‘all posts’ in the WordPress dashboard I get a blank page – no 
   error messages. I can still add new posts and the actual site works fine. Its
   just the backend that’s the problem.
 * Tried a different theme – didn’t help
    Tried deactivating plugins – didn’t help(
   none are new anyway) although I did add a new one which I tried and then deleted
   earlier today. Checked error logs for PHP errors – none from today.
 * Any other ideas of what I can try
    Thanks

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/#post-6795000)
 * > Tried a different theme – didn’t help
 * Have you tried Twenty Fifteen them with ALL plugins deactivated
 *  Thread Starter [summer01](https://wordpress.org/support/users/summer01/)
 * (@summer01)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/#post-6795006)
 * It wasn’t twenty fifteen I tried so just deactivated all plug ins again with 
   this theme and it didn’t make any difference.
 *  [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/#post-6795009)
 * See if you have any errors in your browser console (when viewing an admin page
   that doesn’t load):
    [https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors](https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors)
 *  Thread Starter [summer01](https://wordpress.org/support/users/summer01/)
 * (@summer01)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/#post-6795017)
 * OK, did that and I get
 * Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or 
   esc_sql() instead. in /public_html/wp-includes/functions.php on line 3406
 * I have no idea what this means.
 *  Thread Starter [summer01](https://wordpress.org/support/users/summer01/)
 * (@summer01)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/#post-6795138)
 * Anyone got any ideas what to do next?
    Thanks
 * _[Moderator’s note: [No bumping ](https://codex.wordpress.org/Forum_Welcome#No_Bumping)
   please]_
 *  [megafreechips](https://wordpress.org/support/users/megafreechips/)
 * (@megafreechips)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/#post-6795140)
 * It seems somewhere in your theme or plugins you are using a deprecated function.
   
   Try to find where you are using wpdb::escape.
 * This is the row you mentioned from the functions.php file, it’s just a core hook
   that tell’s you when you are using deprecated core stuff:
 *     ```
       function _deprecated_function( $function, $version, $replacement = null ) {
   
       	/**
       	 * Fires when a deprecated function is called.
       	 *
       	 * @since 2.5.0
       	 *
       	 * @param string $function    The function that was called.
       	 * @param string $replacement The function that should have been called.
       	 * @param string $version     The version of WordPress that deprecated the function.
       	 */
       	do_action( 'deprecated_function_run', $function, $replacement, $version );
   
       	/**
       	 * Filter whether to trigger an error for deprecated functions.
       	 *
       	 * @since 2.5.0
       	 *
       	 * @param bool $trigger Whether to trigger the error for deprecated functions. Default true.
       	 */
       	if ( WP_DEBUG && apply_filters( 'deprecated_function_trigger_error', true ) ) {
       		if ( function_exists( '__' ) ) {
       			if ( ! is_null( $replacement ) )
       				trigger_error( sprintf( __('%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.'), $function, $version, $replacement ) );
       			else
       				trigger_error( sprintf( __('%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.'), $function, $version ) );
       		} else {
       			if ( ! is_null( $replacement ) )
       				trigger_error( sprintf( '%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.', $function, $version, $replacement ) );
       			else
       				trigger_error( sprintf( '%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.', $function, $version ) );
       		}
       	}
       }
       ```
   
 * If you aren’t using a proper IDE and can’t properly debug, I would recommend 
   disabling all plugins and activating them one by one trying to find the problematic
   one.
    wpdb::escape is probably being called from one of your plugins that hasn’t
   been updated for a long time. Or, you can search the usage of this function in
   your code and find the problematic place.
 *  Thread Starter [summer01](https://wordpress.org/support/users/summer01/)
 * (@summer01)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/#post-6795143)
 * Is it possible that it is something to do with a plugin that has been deleted?
   
   I have deactivated all plugins and it doesn’t solve the problem. Will try to 
   find the function in the code but don’t know a quick way of doing this.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/#post-6795145)
 * >  Is it possible that it is something to do with a plugin that has been deleted?
 * try [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by [FTP](http://codex.wordpress.org/FTP_Clients).
 *  Thread Starter [summer01](https://wordpress.org/support/users/summer01/)
 * (@summer01)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/#post-6795148)
 * Thanks, just tried resetting the plugins folder by FTP but it didn’t help. Still
   get a blank page for ‘all posts’ !
 *  Thread Starter [summer01](https://wordpress.org/support/users/summer01/)
 * (@summer01)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/#post-6795149)
 * OK, now I am almost certain it is something to do with a plugin that I installed
   and then deleted yesterday. I tried reinstalling but it didn’t help. All the 
   files for the plugin have been deleted from the the plugins folder. Are there
   any other obvious places I should be looking?
 *  [megafreechips](https://wordpress.org/support/users/megafreechips/)
 * (@megafreechips)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/#post-6795158)
 * You can easily find the problematic place if you just search for the usage of
   this deprecated function:
 * wpdb::escape
 * As the error instructed.
    Check this out: [https://www.webniraj.com/2013/08/05/wordpress-3-6-fixing-wpdbescape-deprecation-errors/](https://www.webniraj.com/2013/08/05/wordpress-3-6-fixing-wpdbescape-deprecation-errors/)
 *  Thread Starter [summer01](https://wordpress.org/support/users/summer01/)
 * (@summer01)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/#post-6795180)
 * I have found one plugin that had wpdb::escape. Replaced them all with esc_sql
   but it hasn’t solved the problem of the posts page not loading. I went back and
   turned the error reporting back on and now there is no error. So it seems to 
   have fixed the deprecated function error but for some reason I am still getting
   a blank page for ‘all posts’.
 *  [megafreechips](https://wordpress.org/support/users/megafreechips/)
 * (@megafreechips)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/#post-6795196)
 * Is this site live?
    Or on local dev-env? If it’s on a local dev-env, I’d suggest
   putting some breakpoints and checking where it breaks.
 *  Thread Starter [summer01](https://wordpress.org/support/users/summer01/)
 * (@summer01)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/#post-6795198)
 * its live so I don’t want to do anything too drastic just before Christmas.

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

The topic ‘wp-admin/edit.php not loading’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 14 replies
 * 4 participants
 * Last reply from: [summer01](https://wordpress.org/support/users/summer01/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/wp-admineditphp-not-loading/#post-6795198)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
