Few things are as stressful as opening your website and seeing a blank page or a confusing error message. The good news is that most WordPress errors have a small number of common causes, and many can be fixed in minutes. This guide covers the most common errors, what usually causes them and what to try first.
Take a backup first if you can, and change only one thing at a time. If you make several changes at once, you will not know which one fixed the problem or caused a new one.
1. The white screen of death
You see a completely blank page with no message. It is usually caused by a PHP error from a plugin, a theme or a memory limit.
- Deactivate your plugins, either from the dashboard or by renaming the plugins folder over FTP, and check if the site returns.
- Switch to a default theme to rule out the theme.
- Ask your host to increase the PHP memory limit.
- Turn on debug logging to see the exact error message.
2. Error establishing a database connection
WordPress cannot reach its database. Common causes are wrong database details in the configuration file, a database server that is down or a corrupted database.
- Check the database name, username, password and host in the configuration file.
- Contact your hosting provider and ask if the database server is running.
- Ask whether the database needs repair.
3. 500 internal server error
A general server error with many possible causes, often a damaged .htaccess file, a faulty plugin or a PHP limit.
- Rename the .htaccess file and reload the site. If it works, save your permalinks to create a fresh one.
- Deactivate plugins and the theme as in the white screen steps.
- Check your hosting error log for the exact cause.
4. Posts and pages show a 404 error
Your homepage works but other pages show not found. This usually means the permalink rules need refreshing.
- Go to Settings, then Permalinks, and click Save Changes without changing anything.
- Check that your .htaccess file is writable and not corrupted.
5. Stuck on briefly unavailable for scheduled maintenance
An update was interrupted and WordPress left the maintenance message in place. Delete the file named .maintenance in your site’s main folder over FTP or your hosting file manager, then reload.
6. Locked out or stuck in a login loop
- Clear your browser cookies and cache and try again.
- Reset your password from the login page.
- Check that your site address and WordPress address match in your settings.
- Deactivate security or caching plugins that may be interfering.
7. Mixed content or not secure warnings
Your site uses HTTPS, but some images or scripts still load over HTTP. Update old links to HTTPS and make sure your SSL certificate is valid and installed correctly.
8. Update failed or plugin conflicts
After an update, something stops working. Roll back to the backup, update one item at a time and test after each one. Keeping plugins to a minimum reduces these conflicts.
How to prevent most errors
- Keep automatic backups so you can roll back quickly.
- Update on a schedule and test after updates.
- Use quality hosting with a current PHP version.
- Remove plugins and themes you do not use.
Regular care is exactly what WordPress maintenance covers, and good security habits help too. See my WordPress security checklist.
When to call a developer
If the error comes back, you cannot find the cause or the site holds important orders and enquiries, get help rather than guess. My WordPress bug fixes service tracks down the cause and fixes it properly, with a backup taken first.
Next steps
Site down or acting strangely? Send me the details and any error message, and I will tell you what I think is wrong and how to fix it.
Frequently asked questions
Will I lose my content if my site breaks?
Usually not. Your content lives in the database and files, and a recent backup lets you restore it. This is why backups matter.
Why did my site break after an update?
Most often a plugin or theme is not compatible with the new version of WordPress or PHP. Restoring a backup and updating one item at a time finds the culprit.
Can my hosting company fix WordPress errors?
They can fix server problems such as database or PHP issues, but usually not plugin or theme conflicts. A developer helps with those.
How do I find the exact error?
Turn on WordPress debug logging or check your hosting error log. The message usually points to the file or plugin causing the problem.



