Critical error, blank page, error 500: fixing your WordPress site yourself.

Updated on 17 November 2026.

These three messages usually share the same cause: a plugin or a theme that crashes, generally right after an update of WordPress, of a plugin or of the PHP version. The steps below go from the simplest to the most technical. Before touching anything, download a backup of the files and the database from your host’s control panel, or check that they keep one from the day before.

1. Look for the WordPress email

Since version 5.2, when a plugin or a theme causes a fatal error, WordPress sends the administrator address an email titled “Your Site is Experiencing a Technical Issue”. It names the plugin at fault and contains a link to recovery mode: you get into the admin area despite the error, the plugin is paused, and you can deactivate it. Check your spam folder too.

2. Deactivate the plugins through the files

Without the email, use SFTP or your host’s file manager. Rename the wp-content/plugins folder to plugins-off, then open the admin area: WordPress deactivates the plugins it can no longer find. If the site comes back, one of them is at fault. Give the folder its name back, then reactivate the plugins one by one: the one that brings the error back is the culprit. Leave it deactivated and look for a fixed version, or another plugin that does the same job.

3. Switch to a default theme

If the plugins are not at fault, rename the active theme’s folder in wp-content/themes. WordPress then falls back to a default theme, Twenty Twenty-Five for example, if one is installed. If the site comes back, the problem lies in the theme or its parent theme: a theme update, or a recent change to its functions.php file.

4. Read the error log

The exact cause is written in the PHP error log. Many hosts show it in their control panel, under a name like “Logs” or “Error logs”. Otherwise, add these three lines to wp-config.php, just before the line “That’s all, stop editing!”:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Reload the page with the error, then open wp-content/debug.log. The last line starting with “PHP Fatal error” gives the file at fault, and so the plugin or the theme. Remove the three lines once the cause is found, and delete the debug.log file: it can be read from a browser.

5. Check the PHP version

An old plugin can crash after a move from PHP 7.4 to PHP 8. If the error started when your host changed the version, switch back to the previous one from their control panel while you update or replace the plugin. Do not stay on an old version: it no longer gets security fixes.

Other messages

“Error establishing a database connection”

WordPress cannot reach its database. Compare the four values DB_NAME, DB_USER, DB_PASSWORD and DB_HOST in wp-config.php with the database details in your host’s control panel: a changed password is enough to cause the error. If they match, your host’s database server may be down: their support will tell you.

“Briefly unavailable for scheduled maintenance”

An update stopped halfway. Delete the .maintenance file at the root of the site, then run the plugin update again from the admin area.

An error 500 with no other message

Rename the .htaccess file at the root of the site to .htaccess-old. If the site comes back, create a clean file by saving the settings again under Settings, then Permalinks. Otherwise, the error log (step 4) often says “Allowed memory size exhausted”: PHP’s memory limit is too low, and your host usually lets you raise it from their control panel.

When to hand it over

If the site redirects to another site, shows pages you did not write, or your host mentions malicious files, this is not a breakdown: read what to do when your WordPress site is hacked. If you have no access to the files, or the cause cannot be found, we repair the site within 24 hours for €149 including VAT, €69 if it is hosted with us, fixed or refunded: see WordPress repair.

Frequently asked questions

How do I fix the WordPress critical error?

Follow the link in the “Your Site is Experiencing a Technical Issue” email to enter recovery mode and deactivate the plugin at fault. Without that email, rename the plugins folder over SFTP, then the theme’s, and read the error log to find the file at fault.

Why does my WordPress site show a blank page?

Most often, a fatal PHP error while error display is turned off: a plugin, the theme or a lack of memory. The error log gives the exact cause.

How do I fix an error 500 on WordPress?

Rename the .htaccess file, deactivate the plugins by renaming their folder, then read the error log: a damaged .htaccess file, a plugin or a PHP memory limit that is too low explain most cases.

Your website between the Loire and the Rhône, from €29 for the first year.

Then €59 per year. Free migration, cancel online.

See the three plans