Most WordPress errors come from a few causes: a plugin or theme conflict, a failed update, a full disk or a wrong setting. Working through them in order fixes most problems without a developer.
-
1Check your email for recovery mode
When WordPress shows 'There has been a critical error on this website', it usually emails the admin a recovery mode link. Use it to log in and deactivate the plugin or theme that caused the error.
-
2Deactivate plugins from the hosting panel
If you cannot log in, open the hosting File Manager, go to wp-content/plugins and rename the folder of the plugin you recently installed or updated. If unsure, rename the whole plugins folder, then rename it back and reactivate plugins one by one.
Watch out: Rename, do not delete. Deleting removes the plugin's files and may lose settings.
-
3Fix 404 errors on all pages
If the homepage works but every other page says 'Not found', go to Settings → Permalinks and click Save Changes without changing anything. This rebuilds the address rules.
-
4Check disk space and PHP limits
In your hosting panel, check that storage is not full and that the PHP version and memory limit meet your plugins' requirements. A full disk can break uploads, backups and email.
-
5Clear caches
If changes do not show, clear your caching plugin, the hosting cache and any CDN cache, then reload the page in a private window.
-
6Know when to get help
If the site shows warnings about malware, redirects visitors to strange sites, or the database will not connect, contact your host or developer straight away, and restore a clean backup if advised.
Tip: Note what changed just before the problem started. That is usually the cause.
Common mistakes to avoid
- Deleting plugins or files in a panic.
- Making many changes at once, so you cannot tell what fixed it.
- Editing wp-config.php without a backup.
- Ignoring 'disk almost full' emails from the host.
Frequently asked questions
What is the white screen of death?
A blank white page with no error, usually caused by a PHP error from a plugin or theme. The steps above resolve most cases.
I keep getting sent back to the login page. Why?
Clear your browser cookies for the site, check that the WordPress and site addresses in Settings → General match, and make sure the site uses HTTPS consistently.
Should I turn on debugging?
Your developer may turn on WP_DEBUG to see errors. Make sure errors are logged to a file, not shown publicly on the live site.