Topic: After WordPress updating getting error  (Read 1773 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/domain.com/wp-settings.php on line 293

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

Offline kumkum

  • Newbie
  • *
  • Posts: 9
  • iTrader: +0/-0
  • https://hosting.india.to/
    • View Profile
Re: After WordPress updating getting error
« Reply #1 on: August 21, 2020, 05:20:54 PM »
Hi,
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 https://wordpress.org/download/
  • 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.

Offline MarianneBritt

  • Newbie
  • *
  • Posts: 1
  • iTrader: +0/-0
    • View Profile
Re: After WordPress updating getting error
« Reply #2 on: April 17, 2021, 05:59:27 PM »
Did you get any assistance. I have been experiencing such a problem in my site.

Offline etechsupport

  • New Member
  • *
  • Posts: 46
  • iTrader: +0/-0
  • Technical Support
    • View Profile
Re: After WordPress updating getting error
« Reply #3 on: May 28, 2021, 06:43:31 PM »
Your wordpress version need php 7.4 version to be runned properly

so you need to upgrade your php version

or downgrade you wordpress version to 5.2 and disable wordpress auto update

// wp-configs.php   
define( 'WP_AUTO_UPDATE_CORE', false );

Offline adamkostka90

  • Newbie
  • *
  • Posts: 3
  • iTrader: +0/-0
    • View Profile
Re: After WordPress updating getting error
« Reply #4 on: June 03, 2021, 09:49:44 PM »
is your issue resolved? or still facing error
Tags: