Website Showing a Blank White Screen? How to Diagnose and Fix It

Short answer
What should you do first when your website shows a white screen?
A white screen means the server or the browser failed to build the page because of an error, and it also hid the error message. First, check whether everyone sees it, remember your last change and open the PHP error log; take a backup before you touch any file.
You type your domain, the page seems to load, and then nothing appears: no logo, no menu, no error message. This is the white screen, often called the "white screen of death" in WordPress circles. The good news is that the cause usually sits in one file, one plugin or one setting. In this guide we show you how to narrow it down without panic, which log to read first and how to bring your site back safely.
These three steps keep you from wasting hours on blind guesses. The sequence below is the flow our team runs in the first ten minutes:
- Open the site in a private window and on another device over mobile data.
- Write down what changed in the last few hours: plugin, theme, PHP version, code file, hosting setting.
- Open the error log through your hosting panel or FTP and read the latest lines.
- Take a full backup before you change files or the database.
- If the problem started with a change, undo that change.
At this stage, do not delete plugins at random and do not tweak server settings by trial and error. That kind of action hides the real cause and makes rollback harder.
What causes a blank white page on a website?
Behind almost every blank page sits a process that stopped halfway. On the server, PHP hits a fatal error and quits; in the browser, a JavaScript app crashes before it renders anything.
The official WordPress common errors page ties the white screen to PHP or database errors and names two main suspects: plugins and the theme. However, you see a similar pattern on any PHP-based site, not just WordPress. From our field experience, the most common causes are these:
- A plugin or theme that became incompatible after an update.
- A PHP version change that breaks older code.
- The PHP memory limit running out.
- A syntax error, or a missing or corrupted file.
- A cache plugin, server cache or CDN storing the blank page.
- An uncaught error in a JavaScript single-page app.
- Malicious code or a half-finished malware cleanup.
So the core of diagnosis is to prove which of these applies to your site. Reading logs instead of guessing makes all the difference.
Many of these causes trace back to how the team built the site in the first place: bloated themes, piles of plugins and no test environment. That is why good web design services treat maintainability as part of the build, not an afterthought.
How can the symptoms point to the cause?
Symptoms give away a lot. The diagnosis table below shows which check to run first, based on what you see.
| Symptom | Likely cause | First check |
|---|---|---|
| Whole site blank right after an update | Plugin, theme or core incompatibility | Latest fatal error and file path in the log |
| Only the admin dashboard is blank | A plugin that loads in admin, or memory | Do front-end pages work, which plugin shows in the log |
| Only one page or post is blank | Shortcode, block or template on that page | Other pages that use the same template |
| PHP version changed, site blank | Old code incompatible with the new version | Does switching back fix it |
| Heavy pages blank, light pages fine | Memory limit | Memory exhausted warning in the log |
| Blank for you, fine for others | Browser or local cache | Private window, another device |
| Page source has HTML, screen empty | JavaScript or CSS problem | First red error in the browser console |
| Source completely empty, status 200 | PHP error with hidden error output | Server error log |
Keep one point in mind: a single symptom can point to several causes. For example, a blank page after an update can come from plugin incompatibility and from the update raising memory needs at the same time. The table is a starting point; the error log gives the final answer.
Is the white screen only on your device or for everyone?
Measure the scope first. A blank page that only your browser shows needs a completely different fix than a server error.
Open the site in a private window, in another browser and, if possible, over mobile data instead of Wi-Fi. If the site loads fine on another device, the issue probably sits in your browser cache, a browser extension or your local network. Also, if you see a blank page while logged in as an admin but visitors see the normal site, add plugins that load only for logged-in users to your suspect list.
Next, open the Network tab in your browser's developer tools and reload. The status code of the main document tells you a lot. A 500 means a server error. A 200 with an empty response usually means a PHP error that stayed silent because error display is off. If the document has content but the screen stays empty, the problem lives in the browser.
- Status 500: server error, go to the log.
- Status 200 with an empty body: a silent PHP error.
- Full HTML, status 200, empty screen: JavaScript or CSS.
Where do you find the PHP error log and how do you read it?
The error log is the file that names the real cause. In most hosting panels you find it in a section called something like "Errors" or "Logs", and sometimes as a file named error_log in the site's root folder.
Panel labels differ between hosts, therefore we cannot give you an exact menu path; what you need is the PHP error records. When you open the file, focus on the newest lines. The line that matters usually contains "Fatal error" or "Parse error", followed by a file path and a line number.
In practice, the file path often names the culprit directly. If it points to a plugin folder, the problem sits in that plugin; if it points to the themes folder, it sits in the theme. For instance, a path that starts with "wp-content/plugins/example-plugin/" means you only need to investigate that one plugin. Also compare the timestamp with the moment the issue began, so you do not confuse an old error with the new one.
If you want a broader method for reading error output, our article on debugging techniques gives you a systematic approach.
How does WordPress debug mode reveal the white screen cause?
When you turn on WP_DEBUG in WordPress, hidden PHP errors become visible. With WP_DEBUG_LOG you write them to debug.log in the wp-content folder, and with WP_DEBUG_DISPLAY set to false you keep them away from visitors.
The official WordPress debugging documentation describes all three settings. According to it, WP_DEBUG is off by default; WP_DEBUG_LOG only works when WP_DEBUG is on and writes to wp-content/debug.log. WP_DEBUG_DISPLAY controls whether errors print into the page HTML. The documentation also notes that without debug mode, errors can lead to a white screen of death.
On a live site, the safe combination is: WP_DEBUG and WP_DEBUG_LOG on, WP_DEBUG_DISPLAY off. That way visitors never see the error, and you still read the log. These settings live in wp-config.php, so download a copy of that file to your computer before you edit it.
However, the documentation adds an important warning: debugging tools are meant for local development and staging, not for live sites. So once you find the issue, revert the settings and delete debug.log, because the file can contain sensitive details such as server paths.
What if a plugin or theme caused the white screen?
If you can reach the dashboard, deactivate plugins one by one. Otherwise, rename the plugins folder through FTP or your host's file manager. And if you suspect the theme, switch to a default WordPress theme.
The official WordPress common errors page describes the FTP method clearly: find the wp-content/plugins folder and rename it to something like plugins_old. That deactivates all plugins at once. If the site comes back, restore the folder name and reactivate plugins one at a time in the dashboard to find the one that breaks the site.
- If the log names a plugin, rename only that plugin's folder.
- When the log is unclear, rename the whole plugins folder.
- Once the site loads, restore the folder name; the plugins stay inactive.
- Reactivate plugins one at a time and reload the site after each step.
- Note the plugin that brings the blank page back, leave it inactive and report it to the developer's support channel.
Likewise, the same logic applies to themes. The documentation recommends switching to a default WordPress theme if the problem started after you activated a new one. If the problem began with an update, you can find rollback and conflict testing details in our guide on what to do when your website broke after a plugin update.
Does the recovery mode email help with a white screen?
Yes, it is often the fastest way out. Recovery mode arrived with WordPress 5.2. When a plugin or theme triggers a fatal error, WordPress emails the site admin a link and pauses the faulty extension, so you can log in.
The WP_Recovery_Mode class reference explains the behavior: WordPress identifies the extension from the error's file path, pauses that plugin or theme, and by default sends the email at most once per day. The link stays valid for the same period by default. Because filters can change those values, your site may behave differently.
So check the admin inbox and the spam folder first. If no email arrived, your site's email sending may be broken; in that case, fix delivery with an SMTP plugin as a lasting solution. Recovery mode usually works together with the "There has been a critical error on this website" message. If you see that message instead of a blank page, go to our guide on the WordPress critical error fix.
Why does the memory limit cause a blank page?
PHP runs each request within a set memory limit. When a heavy plugin or a large task goes over that limit, the script stops halfway and the page stays empty. If your log shows "Allowed memory size exhausted", this is your cause.
For this error, therefore, the WordPress documentation suggests raising the memory limit in wp-config.php as a first step. It adds that php.ini is not a WordPress file and that you should ask your host if you are unsure. On shared hosting, only the provider may be able to raise the limit.
Still, a higher limit is not always a real fix. If a plugin loops and keeps eating memory, raising the limit only delays the crash. We cover how to tell the difference, and what limit makes sense, in our article on PHP allowed memory size exhausted.
Why does a PHP version change cause a white screen?
New PHP versions remove some old functions or change how they behave. A plugin or theme that has not seen updates for a long time then throws a fatal error on the new version, and the page goes blank.
Hosting companies retire old PHP versions from time to time and move accounts to newer ones automatically. If your site goes blank one morning even though you changed nothing, this is the first suspect. Check the PHP version in your panel; if switching back brings the site up, you have found the cause.
However, staying on an old version is not a permanent fix, because old versions eventually stop receiving security updates. The right move is to update the incompatible plugin or replace it with a supported alternative. Our guide to changing the PHP version in cPanel walks you through the switch.
What is the difference between a white screen, a 500 error and a critical error message?
All three usually come from the same kind of server error; the difference is how the visitor sees it. A white screen shows nothing, a 500 error returns a server error page, and the critical error message means WordPress caught the error and shows a polite notice.
| What you see | What it means | Where to start |
|---|---|---|
| Completely blank page | Error output off, process stopped | Error log and debug.log |
| 500 Internal Server Error | Server could not finish the request | Server log, .htaccess, permissions |
| Critical error message | WordPress caught a fatal error | Admin email and recovery mode |
This distinction matters because each one leads to a different log file and a different guide. If you see a 500 error, our guide on the 500 Internal Server Error covers the server side in depth. This article focuses on the case where no message appears at all.
How do you diagnose a white screen in a JavaScript app?
In single-page apps built with React, Vue or similar frameworks, a blank page usually comes from an uncaught JavaScript error in the browser. The server returns valid HTML, but the app crashes during startup and draws nothing.
First, open the Console tab in your browser's developer tools and reload. The first red error is often the culprit: a missing file, an unexpected API response or an old cached bundle that no longer matches the new deployment. Then check the Network tab for JavaScript files that return 404.
If the screen stays empty right after you ship a new release, the browser may be pairing old HTML with new bundle names. In that case, clearing the cache layers often solves it. The lasting fix is to add an error boundary to the app, so a crash shows a clear message instead of an empty screen.
- Red error in the console: note the file name and line of the first error.
- JS file returning 404 in Network: old cache and new deployment do not match.
- No error but an empty screen: content hidden by CSS, or a wrong redirect.
How can caching hide or prolong a white screen?
A cache can store the blank page from the broken moment and keep serving it after you fix the problem. So if the issue continues after your fix, clear every cache layer in order.
In practice, caching does not live in one place: the browser, a WordPress cache plugin, server-side caching, PHP's code cache and the CDN are separate layers. For example, if PHP keeps running old compiled code after you fix a file, look at your OPcache settings. Our guide on website changes not showing explains the order for clearing each layer.
Also, the cache plugin itself can be the cause. A corrupted cache file or a bad minification setting can leave the page empty. Temporarily turning off the cache plugin and checking the site rules out that option quickly.
What does a blank admin dashboard mean?
If the front end loads but the admin dashboard is empty, the problem most likely sits in a plugin that loads only in admin, in admin memory needs, or in an update that stopped halfway through admin files.
In this case, check the error log first, because the name of the admin plugin usually appears there. Then you can apply the folder rename method to admin problems too. If a core update stopped halfway, the WordPress common errors page notes that corrupted core files can cause issues; you then replace core files with a clean copy, but you leave the wp-content folder and wp-config.php untouched.
When the admin fails but the front end works, the emergency is milder for the business. Still, test that your sales or contact flows actually work.
What is a step-by-step white screen recovery flow?
Recovery should start with the smallest change and go deeper only when needed. The flow below works as a framework for WordPress and for general PHP sites.
- Measure the scope: everyone, only admin, or one page?
- Take a full backup of files and database.
- Undo the last change and check the site.
- Read the error log and, if needed, debug.log.
- Deactivate the plugin or theme that the file path points to.
- If the log mentions memory or PHP version, fix that setting.
- Clear every cache layer.
- Test the site in a private window, on mobile and through your forms.
- Turn off debug settings and delete debug.log.
- Record the incident, the cause and the fix in a short note.
Do not skip the backup step. A recovery attempt sometimes makes things worse, and then you have no clean copy to return to. Our website backup strategy guide explains which backups to keep and how often.
Example scenario: how do you fix a white screen after overnight updates?
As an example scenario, a service company's WordPress site runs automatic updates overnight, and in the morning the site loads completely blank. The owner cannot reach the dashboard either.
First, the team opens the site on another device and confirms everyone sees the problem. In the Network tab, the main document returns a 500. Next, the team opens the error log in the hosting panel, and the last line shows a fatal error that points to a form plugin's folder. No recovery email arrived, because the site's email sending had problems already.
After a full backup, the team renames only that plugin's folder. The site comes back and the dashboard works. Then the team tests the plugin's previous version on a staging copy, confirms it works, deploys it and reports the bug to the developer. Finally, they clear the cache, turn off debug settings and fix email delivery.
This scenario is only an illustration. The cause on your site may differ; what matters is the order: scope, backup, log, targeted action, test.
What are the most common white screen mistakes?
The most common mistake is deleting files before reading the log. That hides the cause and can even lead to data loss.
- Deleting plugin folders without a backup.
- Leaving WP_DEBUG_DISPLAY on and showing errors to visitors.
- Forgetting debug.log on the server after the fix.
- Raising the memory limit again and again without finding the plugin that eats it.
- Staying on an old PHP version and thinking the problem is solved.
- Concluding "the fix did not work" without clearing the cache.
- Editing code directly on the live site instead of using staging.
Most of these mistakes come from rushing. Minutes feel long while the site is down, but ten systematic minutes beat an hour of random attempts.
One more mistake is not writing down what you did. When a teammate or your host's support steps in, knowing which file you touched saves them hours. So log each step with a time in a short list.
Can a white screen be a sign of a hack?
Yes, it can. On sites with injected malicious code or a half-finished cleanup, damaged files can cause a white screen. If the site broke although you changed nothing and the log shows file names you do not recognize, take this possibility seriously.
Specifically, warning signs include new PHP files with random names in the root folder, core files with recent modification dates and admin accounts you do not know. In that case, fixing the blank page is not enough; without closing the hole, the site breaks again. Our guide WordPress site hacked: what to do first covers the first 24 hours step by step.
In that situation, also be careful with strangers who offer to "fix your site right now". Verify the identity and method of anyone you give server access to.
What monitoring catches a blank page early?
A simple uptime monitor plus regular error log checks let you catch the problem before customers do. However, monitors that only look at status codes can miss a blank page, because a silent PHP error often still returns 200.
So use a monitoring setting that checks for a specific text on the page, such as your company name or a phrase in the footer. If the text is missing, the tool alerts you. That way you also catch the "site up but empty" case. In addition, check the size of the error log weekly; a log that suddenly grows warns you about a coming problem.
- Status code monitoring: alerts you when the server goes fully down.
- Keyword monitoring: catches the silent blank page.
- Log size checks: reveal repeated warnings early.
How do you prevent the white screen from coming back?
Lasting protection stands on three legs: regular backups, testing updates on staging first and routine maintenance. With all three in place, a blank page turns from a crisis into a short interruption.
Above all, testing updates on a copy before the live site is the most effective step. A monthly checklist also keeps you on top of outdated plugins, PHP compatibility and disk and memory use; our website maintenance checklist describes that routine. During planned work, show visitors a proper notice instead of an empty screen with a maintenance mode page.
This routine keeps problems rare instead of recurring, and it costs far less time than an emergency recovery.
When should you get expert help with a white screen?
Get expert help if you cannot access the error log, cannot interpret the error, suspect a hack, or your site carries a critical flow such as sales or bookings. Every hour offline costs customers.
As Talha Aslan and team, we build business websites with fast, secure and easy-to-maintain code, and you see every page on a test environment before launch. The first year of hosting, maintenance and support is part of the scope, and we deliver the site in a documented structure that another developer could take over. That approach makes problems like a blank page both rarer and faster to solve.
For businesses whose site breaks often, cannot be updated or causes fear with every plugin update, the problem is bigger than one error. In that case, you can consider a rebuild through our corporate website design process. We define scope and process in a written proposal and we make no promises about results.



