Skip to content
  • Home
  • About
  • No Access
  • Privacy Policy
Bits of .NET
Bits of .NET
  • C#
  • Asp.Net Core
  • SQL
  • Windows
  • WordPress
  • AI
  • JavaScript
  • CSS
  • MORE
    • HTML
    • Ajax
    • Git
    • Docker
    • Kubernetes
    • Photoshop
    • Visual Studio

Bits of .NET

Daily micro-tips for C#, SQL, performance, and scalable backend engineering.

  • C#
  • Asp.Net Core
  • SQL
  • Windows
  • WordPress
  • AI
  • JavaScript
  • CSS
  • MORE
    • HTML
    • Ajax
    • Git
    • Docker
    • Kubernetes
    • Photoshop
    • Visual Studio
Wordpress

WordPress: Recover From a White Screen of Death in 5 Minutes Without a Backup

- 30.08.26 - ErcanOPAK

📝 Rename Folder = Site Back Online

You install a plugin, update a theme, or edit functions.php, and your site turns into a completely blank white page — no error message, nothing. This is WordPress’s White Screen of Death, and it’s fixable even without a backup, in most cases.

🐞 The Problem

Visiting your site (or even /wp-admin) shows a blank white page.
No error text visible. The browser tab may just say the site name
with nothing rendered at all.

🔍 Why This Happens (Cause & Effect)

WordPress by default hides PHP errors from visitors for security --
a fatal PHP error (usually from a plugin, theme, or a bad edit to
functions.php) crashes the page rendering entirely, but WP_DEBUG
being off means you see nothing instead of the actual error message.
The site isn't "gone" -- PHP just stopped executing partway through.

🔍 Step 1 — Turn On Error Display to See the Real Cause

Connect via FTP or your host's File Manager, open wp-config.php,
find this line:
define('WP_DEBUG', false);
Change to:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
Reload the site -- check /wp-content/debug.log for the exact fatal
error and which file/line caused it (turn this back off once fixed!).

🔍 Step 2 — Most Common Cause: Disable Plugins via FTP (No Admin Access Needed)

Connect via FTP/File Manager -> navigate to /wp-content/
Rename the "plugins" folder to "plugins-disabled"
Reload the site -- if it comes back, the crash was a plugin.
Rename it back to "plugins", then rename plugins ONE AT A TIME
inside that folder (e.g. "elementor" -> "elementor-off") until
you find the specific plugin causing the fatal error.

🔍 Step 3 — If a Theme Edit Caused It, Revert via FTP

/wp-content/themes/your-theme/functions.php
Comment out or remove your last edit (the code you just added),
save, re-upload. If you don't have the original, switch the active
theme by renaming the current theme's folder -- WordPress
automatically falls back to a default theme (Twenty Twenty-Four)
when the active theme folder is missing or broken.

🔢 Step 4 — Increase PHP Memory Limit (If the Log Shows “Allowed Memory Size Exhausted”)

In wp-config.php, add near the top:
define('WP_MEMORY_LIMIT', '256M');
Some hosts also require raising it in php.ini or .htaccess:
php_value memory_limit 256M

🛡️ Prevent This Going Forward

1. Never edit functions.php directly on a live site -- use a staging
   site or a child theme, test locally first
2. Install a lightweight plugin like WP Health or keep automatic
   backups (UpdraftPlus) so you always have a one-click rollback
3. Update plugins/themes one at a time, not all at once, so you
   know immediately which update caused a problem if the site breaks

Renaming /wp-content/plugins via FTP is the fastest universal fix for a White Screen of Death — it works even when you’re completely locked out of /wp-admin.

— WordPress Admin

Related posts:

WordPress REST API: Turn Your Site into a Headless CMS for React/Vue Apps

WordPress REST API: Turn Your Site into a Headless CMS for React/Vue Apps

WordPress: Use Custom Post Statuses Beyond Draft and Published

WordPress: Use Custom Post Statuses Beyond Draft and Published

WordPress: Fix a REST API Endpoint That Keeps Returning Cached Data After You Update a Post

WordPress: Fix a REST API Endpoint That Keeps Returning Cached Data After You Update a Post

Views: 7
Found this useful? Share it
XLinkedInWhatsApp

Post navigation

Photoshop: Remove Any Person or Object From a Photo Instantly With Generative Fill
WordPress: Stop Comment Spam Instantly Without Installing a Heavy Plugin

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Read

  1. 01How to make theater mode the default for Youtube 1,079 views
  2. 02How to add default value for Entity Framework migrations for DateTime and Bool 997 views
  3. 03Get the User Name and Domain Name from an Email Address in SQL 996 views
  4. 04Get the First and Last Word from a String or Sentence in SQL 873 views
  5. 05How to select distinct rows in a datatable in C# 868 views
  6. 06How to enable, disable and check if Service Broker is enabled on a database in SQL Server 671 views
  7. 07Add Constraint to SQL Table to ensure email contains @ 631 views
  8. 08Average of all values in a column that are not zero in SQL 584 views
  9. 09How to use Map Mode for Vertical Scroll Mode in Visual Studio 562 views
Bits of .NET

Daily micro-tips for C#, SQL, performance, and scalable backend engineering.

Social

  • ErcanOPAK.com
  • GoodReads
  • LetterBoxD
  • Linkedin
  • The Blog
  • Twitter
Back to top
© 2026 Bits of .NET | Built with Xblog Plus free WordPress theme by wpthemespace.com