Title: Fatal Error in Settings.php
Last modified: August 31, 2016

---

# Fatal Error in Settings.php

 *  Resolved [ripteh1337](https://wordpress.org/support/users/ripteh1337/)
 * (@ripteh1337)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-settingsphp/)
 * Fatal error: require(): in /home/pandorum/public_html/wp-settings.php on line
   126 Line 126 has require( ABSPATH . WPINC . ‘/class-wp-role.php’ );
 * I have tried replacing folders to the default wordpress install and restoring
   previous backups to no avail

Viewing 13 replies - 1 through 13 (of 13 total)

 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-settingsphp/#post-7170824)
 * What were you doing just before this error?
 *  Thread Starter [ripteh1337](https://wordpress.org/support/users/ripteh1337/)
 * (@ripteh1337)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-settingsphp/#post-7170827)
 * I updated two plugins:
 * WooCommerce and QueryMonitor
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-settingsphp/#post-7170832)
 * Rename your plugins folder plugins-old.
 *  Thread Starter [ripteh1337](https://wordpress.org/support/users/ripteh1337/)
 * (@ripteh1337)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-settingsphp/#post-7170833)
 * I have renamed the plugins folders and still having the same error.
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-settingsphp/#post-7170835)
 * Try posting here, [https://wordpress.org/support/plugin/query-monitor](https://wordpress.org/support/plugin/query-monitor)
 * Does this plugin make changes to your .htaccess file?
 *  Thread Starter [ripteh1337](https://wordpress.org/support/users/ripteh1337/)
 * (@ripteh1337)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-settingsphp/#post-7170836)
 * Update to Query Monitor was made when it was inactive regardless, and not a single
   plugin is running currently.
 * It does not make changes, and I have renamed the htaccess and made the default
   wordpress one
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-settingsphp/#post-7170868)
 * I see from this [https://www.reddit.com/r/Wordpress/comments/4ae2fv/500_error/](https://www.reddit.com/r/Wordpress/comments/4ae2fv/500_error/)
   that you overwrote the wp files. We always advise deleting the files and then
   replacing them. I have seen multiple times where a person would overwrite the
   files 2 or 3 times and suddenly wp would work again.
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-settingsphp/#post-7170872)
 * Does switching to the twenty sixteen theme help. You can do that by renaming 
   your theme to mytheme-old.
 *  Thread Starter [ripteh1337](https://wordpress.org/support/users/ripteh1337/)
 * (@ripteh1337)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-settingsphp/#post-7170880)
 * Deleted all core wp files and folders and added fresh ones and still same issue.
   Switched the theme and still the same problem
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-settingsphp/#post-7170931)
 * I have asked some others to look at this.
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-settingsphp/#post-7170934)
 * Can you clear the server cache? Can you try a different browser?
 * Please post the URL.
 *  Thread Starter [ripteh1337](https://wordpress.org/support/users/ripteh1337/)
 * (@ripteh1337)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-settingsphp/#post-7170937)
 * Just resolved it, found WooCommerce errors on the apache log, removed woocommerce
   and dropped the tables and imported a clean DB
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-settingsphp/#post-7170942)
 * Great!

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Fatal Error in Settings.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 13 replies
 * 2 participants
 * Last reply from: [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-settingsphp/#post-7170942)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
