In short
- A white screen is usually a PHP error in code, not lost site content.
- The usual causes are a plugin, the theme and a PHP memory limit that is too low.
- Turn on WP_DEBUG_LOG and read debug.log to see what failed.
- Always back up before changing anything and change one thing at a time.
Table of contents (13)
- What does a white screen actually mean?
- Why is my site blank and the admin panel not working?
- Step 1: check whether WordPress emailed you
- Step 2: make a backup before touching anything
- Step 3: turn on error logging (WPDEBUG)
- Step 4: disable plugins without entering the dashboard
- Step 5: switch the theme to a default one
- Step 6: raise the PHP memory limit
- Does a white screen mean lost data?
- How to stop the white screen coming back
- When to ask for help
- Summary
- Frequently asked questions
A white screen in WordPress is usually a PHP error that stopped the page from loading before anything could be shown. The usual culprits are a plugin, the theme or a PHP memory limit that is too low. Your content (posts, pages, images) is almost certainly untouched, because it lives in the database and in files. Below I go through how to check and fix it step by step, from the least to the most invasive.
What does a white screen actually mean?
The WordPress documentation describes it as a PHP or database error that ends in a blank screen with no information (source). Your site has not "disappeared". The code simply stopped and had nothing to print.
It can look different from case to case:
- the whole site is blank, including
/wp-admin, - only the home page or a single subpage is blank,
- the dashboard works but the public site is blank (or the other way round),
- instead of a blank page you see a critical error message. That is a newer variant of the same problem, covered in a separate post: the WordPress critical error.
The distinction matters because it tells you where to look. One blank subpage usually points to a particular template or a plugin loaded there. A blank site everywhere is more often the theme, a plugin loaded on every page, or the memory limit.
Why is my site blank and the admin panel not working?
Because the error sits in code that loads both on the site and in the dashboard. The WordPress core, the active theme and all enabled plugins are shared. If one of them triggers a fatal error, both views fail at once.
The documentation points to three main suspects (source):
- A plugin with a compatibility problem, most often after an update or after installing a new one.
- The theme, especially right after activating a new one or after a change in the theme files.
- The PHP memory limit, which is too low for what the site tries to load.
The most common scenario I see is ordinary: the site worked, someone clicked "update" on a plugin or pasted a snippet into functions.php, and shortly after everything went white. Before you change anything, recall what the last change was. That saves half the diagnosis.
Step 1: check whether WordPress emailed you
Since version 5.2, WordPress has protection against fatal errors. When it detects one, it emails the administrator a secret link to recovery mode (source).
After you click the link, the problematic plugins and themes are paused for you only, so you can get into the dashboard. You can then deactivate the faulty plugin or pass the error details to its author. You leave recovery mode with a button in the admin bar. Remember that other visitors still see the error until you fix the cause.
Check the inbox of the address set as the administrator email, including spam. If there is no email, or the server does not send mail at all, move on to the next steps. I explain this mechanism in more detail in the post on the critical error.
Step 2: make a backup before touching anything
A dull step, but the most important one. Before you rename folders and edit wp-config.php, download the whole site via FTP or your host's file manager and export the database. The documentation itself reminds you to have a backup or a staging environment before making changes (source).
If you have no backups at all, that is a sign to sort it out right after the fix. I write about it in a separate post: WordPress backups.
Step 3: turn on error logging (WP_DEBUG)
A white screen says nothing, but WordPress can record what went wrong. In wp-config.php, add these settings before the "That's all, stop editing!" line, as given in the official documentation (source):
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
What they do:
WP_DEBUGturns on debug mode,WP_DEBUG_LOGwrites all errors, notices and warnings to adebug.logfile in thewp-contentdirectory,WP_DEBUG_DISPLAYset tofalsehides errors on the page so visitors do not see them.
Refresh the site and open wp-content/debug.log. Look for a "Fatal error" line. It usually gives a file path, for example wp-content/plugins/plugin-name/..., and that is your culprit. Write true and false without quotes, because a quoted value is treated as true.
An important warning from the documentation: these tools are not recommended on a live site, they are meant for local testing and staging (source). After the fix, set them back to false or remove the lines.

Step 4: disable plugins without entering the dashboard
If the log points to a plugin, or the log is empty and you suspect plugins, disable them by hand. The documentation gives the method: rename the wp-content/plugins folder to plugins_old via FTP (source). WordPress then finds no plugins and deactivates them all.
Then:
- Refresh the site and the dashboard. If they are back, one of the plugins is to blame.
- Rename the folder back to
plugins. - In the dashboard, enable plugins one at a time and refresh the site until the error returns.
- The last plugin you enabled is the culprit. Update it, replace it, or write to its author with the excerpt from
debug.log.
If you already know which plugin causes trouble, you can rename only its folder instead of all of them. It is quicker and leaves the rest alone.
Step 5: switch the theme to a default one
If disabling plugins did not help, suspect the theme. The documentation advises switching to a default WordPress theme by renaming the active theme's folder in wp-content/themes (source). WordPress then falls back to a default theme, provided one is installed.
If the site came back, the problem is in the theme. Most often it is a recent change in functions.php, a theme that does not work with a new PHP version, or a child theme that refers to parent files after the parent was updated. Restore the previous version of the file from your backup and review the changes.
Step 6: raise the PHP memory limit
If the log shows an "Allowed memory size exhausted" message, the limit is the problem. According to the documentation, WordPress tries to allocate 40 MB to PHP by default (64 MB on multisite), and you can raise it in wp-config.php (source):
define( 'WP_MEMORY_LIMIT', '256M' );
Two caveats, both from the documentation. First, some hosts do not allow the limit to be raised this way, and then you have to ask your host. Second, a higher limit can mask the real problem. If the error comes back after raising the memory, a plugin is consuming a disproportionate amount, and you need to find it with debugging.
Does a white screen mean lost data?
Usually not. Your content is in the database, and images and files are in wp-content/uploads. The PHP error that causes the white screen concerns code, not content. Once you disable the faulty plugin or restore the theme, your posts and pages are where you left them.
The exceptions are cases with a more serious cause: a corrupted core file after an interrupted update, a full disk on the hosting, or a break-in. That is why you make a backup in step 2 and do not delete anything "just to try". If you are still unsure of the cause after all the steps, it is better to stop than to delete files blindly.

How to stop the white screen coming back
Most white screens I see have the same origin: an update done without a backup and without a test. A few habits limit that:
- back up files and the database before updating plugins,
- update one plugin at a time and check the site, not all at once (more: updating WordPress and plugins safely),
- remove plugins you do not use, because each one is extra risk,
- keep a current PHP version that works with your theme and plugins,
- set the administrator email to an inbox you actually read, so the recovery mode email reaches you.
From practice: The most common mistake I see with a white screen is haste. In a panic someone changes several things at once, installs new plugins that "fix" the problem, or deletes files. Then nobody knows what the cause was, and recovery takes longer than doing one step and checking the result.
When to ask for help
If the log points to an error in WordPress core, the site is on hosting where you have no FTP access, or the error returns after the fix, there is no point guessing further. Having the diagnosis done by someone who does this every day is then cheaper. If you want someone to look after updates, backups and situations like this on an ongoing basis, see WordPress support.
Summary
A white screen is a PHP error, not data loss. Turn on WP_DEBUG_LOG and read debug.log, disable plugins by renaming their folder, then check the theme and the memory limit. Always start with a backup and change one thing at a time. After the fix, turn debug mode off.
Frequently asked questions
Does a white screen mean data loss?
Usually not. Content is in the database and files are in the uploads folder. The error concerns code, so once you disable the faulty plugin or restore the theme, posts and pages are still there.
How do I disable plugins without dashboard access?
Via FTP or your host's file manager, rename wp-content/plugins to plugins_old. WordPress then deactivates all plugins.
Where do I look for the cause of a white screen?
Turn on WP_DEBUG and WP_DEBUG_LOG in wp-config.php, then open wp-content/debug.log. The Fatal error line usually points to the file of the faulty plugin or theme.
Does raising the memory limit always help?
Only when the log mentions exhausted memory. A higher limit can also hide a plugin that uses too much, in which case you need to find it.
Should I leave WP_DEBUG on after the fix?
No. The WordPress documentation does not recommend debug tools on a live site, so turn them off or remove them from wp-config.php afterwards.
Sources
Author
Piotr Babczyński
I help businesses win customers online: SEO, Google and Meta ads, automation and AI. I work from Szczecin, Poland, and remotely. I write about what I test on real projects.
- 30 years in IT
- SEO and Google Ads
- AI implementation
- #WordPress
- #site repair
- #troubleshooting




