WordPress "There has been a critical error" or white screen
On this page
WordPress shows this message (or nothing at all) when PHP stops with a fatal error — usually because of a plugin, a theme or an update. On this server every PHP error is written to your PHP error log, so you do not need to turn on WordPress debugging to find it.
Symptoms
- "There has been a critical error on this website." (and sometimes "Please check your site admin email inbox for instructions.")
- A completely white page on the site or on
/wp-admin. - WordPress emailed the site's admin address about a "technical issue", with a recovery-mode link.
Causes
Most likely first:
- A plugin or theme that fails after an update, or that does not support the site's PHP version.
- The PHP memory limit is too low for the site.
- A file was removed or damaged — an incomplete upload or update, or a file the malware scanner put in quarantine.
- The database cannot be reached or a table is damaged.
- The account's disk space is full.
Fix
Read the error
- Open Errors (section Advanced) and click Refresh after reloading the broken page.
- The newest
PHP Fatal errorline names the file. A path withwp-content/plugins/<name>/points to that plugin;wp-content/themes/<name>/to that theme.
Site Check (section Advanced) shows the same errors for one website. If your host has turned on the AI assistant, Explain with AI (on Errors) explains them, and Fix with the assistant proposes the fix and applies it after you confirm.
1. Switch off the plugin or theme
- Open File Manager (section Files) and go to
wp-content/pluginsin the website's folder. - Click Rename on the plugin's folder (for example
contact-form→contact-form.off). WordPress switches it off. - Reload the site. Then update or replace the plugin and rename the folder back.
For a theme, rename its folder in wp-content/themes; WordPress falls back to a default theme if one is installed.
If the error started after a PHP version change, choose the previous version in PHP (section Advanced) → PHP version and click Save versions.
2. Memory
Allowed memory size of … bytes exhausted: open PHP → PHP settings, click the WordPress ready-made button (or WooCommerce / large shop for shops), then Save settings. See PHP memory exhausted.
3. Missing or damaged files
Failed opening required …orNo such file or directoryfor a WordPress core file (inwp-adminorwp-includes): upload those two folders again from a fresh download of the same WordPress version.- Open Security (section Advanced). If a file of the site was found infected and isolated, the site may need it replaced by a clean copy: update the plugin or theme it belongs to, then change your passwords.
- Restore yesterday's files from Backups (section Advanced) → Daily snapshots → Browse.
4. Database
Error establishing a database connection or messages about crashed tables: see Error establishing a database connection. For a damaged table, click Check & repair next to the database on MySQL Databases.
5. Disk full
Open Resource Usage. If Disk space is at its limit, free space first; see Disk quota exceeded.
Good to know
- After a fix, click Create staging copy on the site's card (WordPress page) to test updates on a copy before they reach the live site, then Push to live.
- Update automatically (daily) updates WordPress, plugins and themes of the site every day. If an update breaks the site, restore it from the daily snapshots and fix the plugin on a staging copy.
Still not working?
If nothing appears on the Errors page, the problem may be outside PHP: run Site Check and see 500 Internal Server Error. Send the Site Check result to your host through Support.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- Website shows 500 Internal Server Error (HTTP 500)
Find why your website answers "500 Internal Server Error" or a blank page, read the PHP error behind it in the control panel and fix the usual causes.
- PHP "Allowed memory size exhausted" error
Fix "Fatal error: Allowed memory size of 134217728 bytes exhausted" by raising the PHP memory limit in the control panel, and know the account limit above it.
- Error establishing a database connection (access denied)
Fix "Error establishing a database connection" and "Access denied for user" on this server: database name prefix, user privileges, password, host and repairs.