Title: Fatal Error in wp_includes
Last modified: September 13, 2016

---

# Fatal Error in wp_includes

 *  [Squidpeg9](https://wordpress.org/support/users/squidpeg9/)
 * (@squidpeg9)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-in-wp_includes/)
 * I went to update WP on a site that hasn’t been used in a while (since 2014), 
   but when I tried, I got this error:
 * > Fatal error: Call to undefined function wp_json_encode() in /home3/kehoff/public_html/
   > www.internetmarketingdynamic.com/wp-includes/update.php on line 277.
 * I have tried renaming the plugin folder to disable it, and renaming the theme
   folder to switch to the default theme. Neither of these has worked. This error
   pops up whenever I try to do anything in the admin area (update, change theme,
   disable/activate plugins, etc.) Also, my site is shown as a blank white screen
   on the front end. What else can I do to fix this issue?

Viewing 1 replies (of 1 total)

 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-in-wp_includes/#post-8179828)
 * Try a Manual Update: [http://codex.wordpress.org/Updating_WordPress#Manual_Update](http://codex.wordpress.org/Updating_WordPress#Manual_Update)
   You are trying to auto-update update a very old version of WordPress and sounds
   like something broke. Your original theme may not work very well, etiher.
 * If you still get a white screen, that means there are PHP errors. Try Debug and
   see what PHP errors you are getting.
 * See [https://codex.wordpress.org/WP_DEBUG](https://codex.wordpress.org/WP_DEBUG)
 * Add
 *     ```
       define( 'WP_DEBUG', true );
       define( 'WP_DEBUG_LOG', true );
       define( 'WP_DEBUG_DISPLAY', false);
       ```
   
 * in wp-config.php and the debug.log file will be in wp-content.
 * Change the “display” line to true
 * `define( 'WP_DEBUG_DISPLAY', true);`
 * to dump them to the browser as well as log them.
    -  This reply was modified 9 years, 9 months ago by [Mark Ratledge](https://wordpress.org/support/users/songdogtech/).
    -  This reply was modified 9 years, 9 months ago by [Mark Ratledge](https://wordpress.org/support/users/songdogtech/).
    -  This reply was modified 9 years, 9 months ago by [Mark Ratledge](https://wordpress.org/support/users/songdogtech/).

Viewing 1 replies (of 1 total)

The topic ‘Fatal Error in wp_includes’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-in-wp_includes/#post-8179828)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
