January 28, 201511 yr Hi Folks I have just tried to login to one of my sites this morning to update the content and this is what appeared after sign in Fatal error: Call to undefined function wp_json_encode() in /websites/123reg/LinuxPackage21/ne/wc/as/newcastleeastend.co.uk/public_html/site/wp-admin/includes/misc.php on line 668 The front end of the site is fine, if i open a new tab and open the site up it shows my WP toolbar at the top so it has lo0gged me in but I then get the same error when I try to edit a page? The site has been fine for years and the updates are done manually but have not done any for over a week and have been able to access dashboard lately until this morning. I am stumped as to how to move forward, any ideas?
January 28, 201511 yr Have you recently upgraded WP to the 4.1 version? There are similar threads on the WordPress support forum https://wordpress.org/support/topic/fatal-error-after-41-upgrade https://wordpress.org/support/topic/cant-login-to-site-after-41-update perhaps try re-installing the WP at least the two files mentioned and see if you are still having the same issues Edited January 28, 201511 yr by junior
January 28, 201511 yr Author Brilliant junior I replaced the functions.php from a new install via ftp and it's worked a treat!
Create an account or sign in to comment