WordPress·Troubleshooting guide
How to Fix “There Has Been a Critical Error on This Website” in WordPress
There has been a critical error on this website.
WordPress shows this generic recovery message when a fatal PHP error prevents the request from completing. The visible message does not identify the root cause; logs and the change history usually do.
Last technical review: 2026-08-30
Common causes
- Plugin or theme code incompatible with the current WordPress or PHP version
- A failed or partial update
- A PHP fatal error triggered by custom code
- Memory exhaustion or a hosting/runtime configuration problem
Safe checks
- Note exactly when the error started and what was updated or changed immediately before it
- Check whether the problem affects the whole site, wp-admin, or only one action/page
- If your host provides a PHP error log, preserve the relevant timestamped error before making changes
Technical diagnosis
- Identify the first fatal exception in the relevant request rather than treating secondary warnings as the cause
- Correlate the stack trace with the plugin, theme, custom code or PHP runtime involved
- Verify whether a rollback or compatibility correction restores both frontend and administrative flows
Repair approaches
- Correct or replace the failing plugin/theme/custom code
- Complete or safely recover an interrupted update
- Adjust the runtime only when logs show a genuine memory/PHP configuration cause
- Re-test the original failing flow after recovery
Avoid these mistakes
- • Do not delete random plugins or database tables without a verified backup/recovery path
- • Do not hide fatal errors by disabling reporting without fixing the underlying failure
Still stuck? Have the site diagnosed.
Send the URL and exact error. The initial request never asks for hosting or CMS passwords.