WordPress white screen or critical error: what to check yourself, and in what order

The site went down after an update or a plugin install. The steps you can take yourself through the hosting panel and FTP, from the safest one up, what not to do, and when to hand it over. WordPress documentation checked December 2026.

Ask for a quote

A white screen, “There has been a critical error on this website” or a 500 error right after an update is usually one problem: a PHP error that stops WordPress halfway through loading the page. With access to the hosting panel or FTP you can find it without a developer.

The first steps below change nothing on the server, and each later one changes more. Restoring a backup comes last, because it also rolls back what was working.

If you would rather hand it over: a fix after an update, a white screen or a critical error costs PLN 490 net with me, paid after the fix. Details are on the WordPress repair page.

A white screen, a critical error and a 500 are usually the same failure

the WordPress version since which a critical error gets its own message and email
5.2
the HTTP status the server returns with it
500

When a plugin, a theme or WordPress itself runs code PHP cannot execute, the page stops loading. Since version 5.2 WordPress catches that error: the visitor sees the critical error message, the server returns HTTP status 500, and the administrator gets an email. A bare white screen remains where that mechanism is switched off, or where the error comes before WordPress can catch it, such as a typo in wp-config.php.

“Briefly unavailable for scheduled maintenance” is different: an update did not finish and left a .maintenance file in the site’s root folder, which the WordPress documentation says to delete over FTP. A database connection error is a database or hosting problem, and the steps below will not fix it.

Before you change anything

Write down what happened just before the failure: which plugin or theme was updated, what was installed, whether the host changed the PHP version. That note often names the culprit.

Then copy the site as it is, broken. Download wp-content and wp-config.php over FTP or through the hosting panel’s file manager, and export the database, on many hosts through phpMyAdmin. Check the date of the host’s newest automatic backup too. Every later step can be undone only if there is something to go back to.

Polish hosts (home.pl, nazwa.pl, cyber_Folks, Hostido, LH.pl) name these options differently. If you cannot find the file manager, backups or the PHP version, search your host’s help pages for those words. The FTP login is in the panel as well.

Step 1: the recovery mode email

On a critical error WordPress emails the administrator address from the general settings, unless a different one is set in wp-config.php with the RECOVERY_MODE_EMAIL constant. The email names the plugin or theme that failed, gives the error details and carries a link to recovery mode. Check the spam folder.

By default the link works for one day, and WordPress sends a new email no more often than that, so reloading the broken site will not produce a second one. The link leads to the login screen, and once you log in the faulty plugin is paused only in your browser. Visitors still see the error. Deactivate the plugin the email names, leave recovery mode with the button in the top bar, and check the site in a private window. Leave the plugin off until its changelog says the bug is fixed.

Step 2: the error log in debug.log

With no email, the error log shows the cause. In wp-config.php in the site’s root folder, above the comment “That's all, stop editing”, add:

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

If the file already sets WP_DEBUG to false, change that line to true instead of adding a second one. Reload the broken page and open wp-content/debug.log. The path in the last “PHP Fatal error” entry shows whose code failed: wp-content/plugins/plugin-name/ is a plugin, wp-content/themes/ the theme. “Allowed memory size” means PHP ran out of memory, which is step 6.

Then set WP_DEBUG back to false and delete debug.log. It sits in a folder the web server serves, and the WordPress documentation gives a separate server rule to block it.

Step 3: switching plugins off over FTP

If the email or the log named a plugin, switch off that one only: in wp-content/plugins, rename its folder, for example by adding -off. WordPress no longer finds it and stops loading it. Its settings stay in the database.

If you do not know the culprit, the WordPress documentation says to rename the whole plugins folder, for example to plugins_old, which switches every plugin off. When the site comes back, open the plugins screen in the dashboard, and WordPress marks the missing plugins as inactive. Rename the folder back to plugins and activate them one at a time, checking the site after each. The one that takes it down again is the culprit.

Step 4: a default theme

If the site is still down with no plugins, rename the active theme’s folder in wp-content/themes. If a default theme from the Twenty family is installed, WordPress falls back to it. If none is, this step tells you nothing.

The site will look plain, and the content stays in the database. If it works on the default theme, the cause is your theme’s update or code somebody added to it. Restore the folder name and reactivate the theme under Appearance, Themes.

Step 5: the PHP version in the hosting panel

the PHP version wordpress.org recommends, or newer
8.3
the minimum PHP for WordPress 7.0 and 7.1
7.4
the newest PHP in the WordPress compatibility table
8.5

Some failures start with a PHP version change on the server rather than a plugin update. An old plugin or theme written for PHP 7 can end in a critical error on PHP 8.

As of December 2026, wordpress.org recommends PHP 8.3 or newer. WordPress 7.0 and 7.1 need at least PHP 7.4, and the WordPress compatibility table ends at PHP 8.5. PHP 8.1 and older get no security fixes, and PHP 8.2 gets them until 31 December 2026.

If the failure came with a version change, setting the previous version in the hosting panel usually brings the site up at once. That buys a few days, not more: the plugin or theme at fault still has to be updated or replaced, and below 8.2 the site runs without security fixes. Do not move a working site to a version newer than 8.5 until WordPress supports it.

Step 6: the memory limit

“Allowed memory size of … bytes exhausted” means PHP used up the memory allowed for one page load. WordPress tries to raise that limit to 40 MB on a single site and 64 MB on multisite. You can set more in wp-config.php with define( 'WP_MEMORY_LIMIT', '256M' );, up to what the host allows. Some hosts block that, and the limit is then changed in the panel or by support.

If the site comes back only at a very high limit, a plugin is using memory without end. Raising the limit postpones the next failure, so go back to step 3.

Step 7: restoring a backup

A backup from the day before brings the site back fastest and rolls back everything since. On a company website that is a few posts. On a WooCommerce shop it is the orders, customer accounts and stock levels from that period. The database export you made on the broken site still holds those orders, so they can be recovered.

After the restore WordPress will offer the same update again. Do not click it until you know what went wrong.

What not to do

  • Do not reinstall WordPress or delete wp-content. Images, the theme and plugins live in those files, and the fault is usually in a plugin, not in the core.
  • Do not delete plugins, rename their folders. Deleting one from the dashboard runs its uninstall code, which can remove its settings from the database.
  • Do not update everything at once again. One update, check the site, then the next.
  • Do not edit a plugin’s or theme’s files by hand. The next update overwrites the fix.
  • Do not paste wp-config.php into a forum or a chat. It holds the database password.

When it stops being a job for the owner

The steps above stop being enough when:

  • nobody has access to the hosting panel or FTP
  • the log points at WordPress core files or the database, not at a plugin or a theme
  • the culprit is a custom-built theme or plugin whose code has to be fixed
  • the site went down with no update and the dashboard has administrators you never created, which looks like a break-in
  • it is a shop losing orders every hour and the backup is old or missing

Then I do it. A fix after an update, a white screen or a critical error costs PLN 490 net, plus 23% Polish VAT. I back up the files and the database before any change, and you pay after the fix, once you have checked that the site works. If I do not fix it, you do not pay for the repair. A malware clean-up is a separate plan, PLN 890 net, paid upfront.

Frequently asked questions

What does “There has been a critical error on this website” mean?

PHP stopped on an error in a plugin, a theme or WordPress itself, and WordPress caught it. Since version 5.2 it shows this message, returns status 500 and emails the administrator a link to recovery mode.

The recovery mode email never came. What now?

Check spam and whether the administrator address in the WordPress settings is current. WordPress sends that email at most once a day. Otherwise switch on WP_DEBUG_LOG in wp-config.php and read wp-content/debug.log, where the path next to “PHP Fatal error” names the plugin or theme.

Does switching plugins off over FTP delete data?

No. Renaming a folder only deactivates the plugin, and its settings stay in the database. Deleting a plugin from the dashboard can remove data, which is why during a failure you rename and delete nothing.

Which PHP version should WordPress run on?

As of December 2026, wordpress.org recommends PHP 8.3 or newer, and the WordPress compatibility table goes up to PHP 8.5. Change the version with a fresh backup in hand and check the site straight after.

How much does a WordPress repair after a failed update cost?

With me, PLN 490 net plus 23% VAT, paid after the fix. A diagnosis with a small fix is PLN 290 net, a malware clean-up PLN 890 net, paid upfront.

Ask about a company website

Say what the company does and what you need on the website. Leave your email for a reply.

Got an idea?
Let’s build it.

hello@ensomedia.dev