Title: Updating WordPress &#8211; wp-settings.php  Error (please help)
Last modified: August 19, 2016

---

# Updating WordPress – wp-settings.php Error (please help)

 *  [gareth2](https://wordpress.org/support/users/gareth2/)
 * (@gareth2)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/updating-wordpress-wp-settingsphp-error-please-help/)
 * Hi,
 * I have an error on wp-settings.php line 246
 * Can someone please advise me how to fix it.
 * [http://www.stadiatech.com](http://www.stadiatech.com)
 * I logged in yesterday and files were added without me knowing I think someone
   or something has hacked in.
 * I’m quite concerned. Also the htaccess file has gone.

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

 *  Thread Starter [gareth2](https://wordpress.org/support/users/gareth2/)
 * (@gareth2)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/updating-wordpress-wp-settingsphp-error-please-help/#post-1241451)
 * Can someone please help me out with this. I have tried contact the host and they
   cant help me.
 *  Thread Starter [gareth2](https://wordpress.org/support/users/gareth2/)
 * (@gareth2)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/updating-wordpress-wp-settingsphp-error-please-help/#post-1241453)
 * Hi,
 * I have managed to corrent the homepage but I still have the same problem on my
   admin log in page.
 * Can someone advise me how I can fix this please?
 * [http://www.stadiatech.com/wp-admin/](http://www.stadiatech.com/wp-admin/)
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [16 years, 8 months ago](https://wordpress.org/support/topic/updating-wordpress-wp-settingsphp-error-please-help/#post-1241454)
 * > I have an error on wp-settings.php line 246
 * What’s the error message text? Also without the .htaccess file in place, your
   permalinks are not going to work. Reset your permalinks and get that .htaccess
   file back.
 *  Thread Starter [gareth2](https://wordpress.org/support/users/gareth2/)
 * (@gareth2)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/updating-wordpress-wp-settingsphp-error-please-help/#post-1241455)
 * At the moment I cant log in, it tells me their is an internal server error.
 * Is their a step by step guide for reseting the permalinks and getting the .htaccess
   file back?
 * I haven’t got a clue how to do that!
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [16 years, 8 months ago](https://wordpress.org/support/topic/updating-wordpress-wp-settingsphp-error-please-help/#post-1241459)
 * > At the moment I cant log in, it tells me their is an internal server error.
 * Without the text of the error message, there is not an awful lot to go by…
 * Try these steps (which mostly I copied from another posting).
 * Backup all of your files and database and put that backup somewhere safe.
 * [http://codex.wordpress.org/WordPress_Backups](http://codex.wordpress.org/WordPress_Backups)
   
   [http://codex.wordpress.org/Backing_Up_Your_Database](http://codex.wordpress.org/Backing_Up_Your_Database)
   [http://codex.wordpress.org/Restoring_Your_Database_From_Backup](http://codex.wordpress.org/Restoring_Your_Database_From_Backup)
 * Download the latest version 2.8.4 from here.
 * [http://wordpress.org/download/](http://wordpress.org/download/)
 * After you have backed up your files, extract the WordPress files and overwrite
   your existing files. This will only wipe out the core files and not your themes
   or plugins. If you have modified any files from the WordPress distribution then
   this will overwrite those files too.
 * Move any .htaccess you have to somewhere else not in your webserver’s directories.
   Insert into a blank .htaccess this text and save the file.
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
       ```
   
 * If that still does not work it might be a plugin so go to your `wp-content` directory
   and rename `plugins` to `plugins-old`.
 * You might want to try renaming the plugin directory first.
 * If something goes really spectacularly bad, just restore your file and database
   backup and you’ll be right back at square one.
 *  Thread Starter [gareth2](https://wordpress.org/support/users/gareth2/)
 * (@gareth2)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/updating-wordpress-wp-settingsphp-error-please-help/#post-1241465)
 * Thanks mate your a real star, I renamed my plugin folder and it logged straight
   in.

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

The topic ‘Updating WordPress – wp-settings.php Error (please help)’ is closed to
new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [gareth2](https://wordpress.org/support/users/gareth2/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/updating-wordpress-wp-settingsphp-error-please-help/#post-1241465)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
