• Welcome to Web Hosting Community Forum for Webmasters - Web hosting Forum.
 

Recommended Providers


Jetpack
Fully Managed WordPress Hosting
lc_banner_leadgen_3
Fully Managed WordPress Hosting

WordPress

WordPress Hosting Divi WordPress Theme
WPZOOM
Bluehost WordPress Hosting

Forum Membership

Forum Membership

After WordPress updating getting error

Started by Chris, October 30, 2019, 04:44:01 PM



Chris

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

kumkum

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.

MarianneBritt

Did you get any assistance. I have been experiencing such a problem in my site.

etechsupport

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 );
Technical Support -eTechSupport.net sales@etechsupp

adamkostka90

is your issue resolved? or still facing error

ownwebservers1

Several reasons can cause the WordPress update failed error here are the points:

Delete the .maintenance file
File permissions
Turn off safe mode
Add FTP details to the wp-config file
Update WordPress manually

stromonic

You need to change your website PHP version to at least 7.4. If this still remain, then your Web Host could help you with this.

ahmedarain20

 The error message you provided indicates that the 'WP_Roles' class is not found, which can potentially cause issues with the website and wp-admin access. To resolve this issue:
Clear your browser cache
Check for incompatible plugins or themes
Verify WordPress core files
Check file permissions
Restore from backup

By following these steps you should be able to solve your problems


WordPress Hosting