Topic: After WordPress updating getting error  (Read 1372 times)

Offline Chris

  • Junior Guru
  • **
  • Posts: 77
  • iTrader: +0/-0
    • View Profile
After WordPress updating getting error
« on: October 30, 2019, 04:44:01 PM »
After updating my client’s WordPress site to 4.7 version, I could not access the website and wp-admin. I got this error

Fatal error: Class ‘WP_Roles’ not found in /webcorp1/www/corpusers/h/y/ on line 293

Help me guys..I need it urgently for my client..Thanks in advance

Offline kumkum

  • Newbie
  • *
  • Posts: 9
  • iTrader: +0/-0
    • View Profile
Re: After WordPress updating getting error
« Reply #1 on: August 21, 2020, 05:20:54 PM »
I am commenting on this old post because i want to add solution of this problem.
Seems like the update went wrong and some files got corrupted.

You can try this to fix it:
  • Download a new Wordpress installation zip
  • Remove the folders wp-admin & wp-includes from your server
  • Reupload those folders from the fresh downloaded Wordpress zip

Note: this does not delete your site content, the content of your website is in the database and in the wp-content folder.