Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

WP Error - unable to access dashboard

Featured Replies

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?

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 by junior

  • 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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.