• 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)
  • Try a Manual Update: http://codex.ww.wp.xz.cn/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.ww.wp.xz.cn/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.

Viewing 1 replies (of 1 total)

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