Support » Fixing WordPress » error when updating to newest wp

  • i was in the middle of waiting for the latest update of WP to finish, it took much too long so i refreshed the page and got the following error:

    Fatal error: Call to undefined function wp_json_encode() in /homepages/4/d148970593/htdocs/tradebrokersdiaries/wp-admin/includes/misc.php on line 668

    can someone advise me how i can correct this, thanks

    M Bey
    [email redacted]

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

Viewing 1 replies (of 1 total)
  • The topic ‘error when updating to newest wp’ is closed to new replies.