WordPress Error Messages& How-To Fix Them
Nothing is more frustrating than when your company’s website goes down unexpectedly. We’ve helped clients countless times with the common WordPress errors we explore below. If you need any assistance implementing these fixes, let us know & we will get your site back up and running quickly.
Error Establishing a Database Connection
The “establishing a database connection” WordPress error is probably the most common. This usually occurs when WordPress is unable to connect to the database that stores all of your site’s content.
In order to fix this issue you need to check the wp-config.php file located in the root directory where your site is hosted. This important file stores all of the configuration information for the WordPress install. Double-check to make sure the DB-NAME, DB_USER, DB_PASSWORD & DB_HOST are correct by referencing the values in your hosting providers’ dashboard.
This error also occurs sometimes when your site is under heavy load. The database server cannot handle the increase in traffic and starts refusing connections. Take a look at your real-time analytics to see if you are experiencing a jump in traffic to your site.
Briefly Unavailable for Scheduled Maintenance Error
A minor update to WordPress could timeout leaving your site stuck in maintenance mode displaying the “briefly unavailable for scheduled maintenance” error. Luckily this isn’t really an error and can be resolved fairly quickly.
In order to fix this problem you will need access to the directory where your website files are stored. You can get there from the dashboard your hosting provider has or through a FTP program. Once you are connected to your server navigate to the root folder and delete the .maintenance file. If you are unable to see this file make sure the Show Hidden Files option is selected in whichever FTP client you are using.
That’s it, your site should now be back online. If you would like to customize the maintenance page or need any help with this error let us know.
Too Many Redirects Issue
Much like the scheduled maintenance error , the too many redirects WordPress issue usually has a straightforward resolution. This issue occurs when your WordPress site redirects a visitor to a page that in turn redirects them back to the original URL they were trying to access.
To fix this problem make sure your WordPress Address (URL) & Site Address (URL) in Settings > General have the correct values. If your host is expecting your URL to have www in front of it but it doesn’t (or vice versa) then your visitors will get stuck in this redirect loop.
If you don’t have access to the admin area you can set these values in your wp-config.php file.
WordPress errors are stressful whether you’ve seen them once or a thousand times. We hope the solutions above will help you out the next time you find yourself in a pinch. If you have any questions or need help with an issue that is not listed here, feel free to contact us.
We look forward to helping resolve whatever WordPress error you are currently experiencing.