WordPress Emergency Help — Triage Guide for Panicking Site Owners

Your site is down. Your phone is buzzing. A customer is asking why checkout shows a white page. Breathe. This guide walks you through the five most common WordPress emergencies — site down, white screen, critical error, hacked, locked out — with a 30-second diagnostic and a 5-minute fix for each. Keep this page open in a tab; read only the section that matches your symptom.

mysite.com
SimpleReview extension
⚠ There has been a critical error on this website
PHP Fatal error: Allowed memory size exhausted (tried to allocate 20480 bytes)
in /wp-content/plugins/woocommerce/includes/class-wc-cart.php:812
Last change: plugin auto-update 14 min ago · PHP 8.2 · WordPress 6.9
OrdersProductsPlugins
✓ Site recovered · Memory limit raised · Cache cleared
Store Dashboard
Emergency fix×
Site down — diagnose and patch|
Fix it ✓ Done
waiting for selection…
Diagnosis
Typememory exhaust
TriggerWC cart class
Fix plan
Raise WP_MEMORY_LIMIT to 512M, clear object cache, pin WC version
Result
Site online. Checkout works. No rollback needed.
✓ PR opened
fix: raise memory limit, pin WC
wp-config.php · 2 lines
Click broken element → SimpleReview reads logs → Fix it → site back online in minutes
Need help right now, at 3am, with no developer on call? → SimpleReview is a 24/7 AI-assisted emergency option. Click the broken element on your site, and it generates a pull request with the fix — no waiting on a ticket queue.

Emergency Cheat Sheet

  • Before touching anything: take a backup of wp-content/ and the database. If your host offers one-click snapshots, use it.
  • Site totally down? Check in incognito first. Your browser may be caching an old error.
  • White screen? It is almost always a PHP fatal error. Enable WP_DEBUG_LOG and read wp-content/debug.log.
  • Can't log in? Reset password in database via phpMyAdmin, or rename the security plugin folder over FTP.
  • Hacked? Rotate every password, rotate auth salts in wp-config.php, scan with Wordfence, restore from clean backup if possible.
  • No FTP, no panel access, sensitive data at risk? Escalate — call hosting support or a pro developer now.

First 60 Seconds — Stay Calm, Gather Facts

Before you touch a single file, answer these four questions. They decide which section of this guide to read.

  1. Is it just you, or is the site down for everyone? Open isitdownrightnow.com or test from your phone on mobile data. If it is only you, clear browser cache or flush DNS.
  2. What exactly do you see? White page? Red "critical error"? "Error establishing database connection"? "502 Bad Gateway"? The exact wording tells you whether the problem is PHP, database, or server.
  3. What changed in the last 24 hours? Plugin update, theme update, WordPress core update, DNS change, host migration, new code deploy? 95% of emergencies trace back to a change in the last day.
  4. Do you have access? wp-admin, FTP/SFTP, hosting cPanel, database (phpMyAdmin)? Write down what you can reach. If you have none of them, skip to the escalation section below.
Rule: back up before you fix. Even if the site is already broken, take a copy of wp-content/ and export the database. A bad fix can turn a recoverable problem into data loss.

Scenario 1: Site Is Completely Down

Symptom

"This site can't be reached" / timeout / 502 / 503

30-second diagnostic

Visit your site in an incognito window. If you see a host-branded error page (SiteGround, Cloudflare, Kinsta), the issue is at the hosting or CDN layer — WordPress never got to run. If the browser times out entirely, DNS or the origin server is down.

5-minute fix
  1. Log into your hosting panel. Check if the server / container is running. Most hosts have a "Restart" or "Reboot" button.
  2. Check your Cloudflare / CDN dashboard. If Cloudflare shows "host error," pause Cloudflare temporarily (DNS only) to see if the origin responds.
  3. Verify DNS: dig yoursite.com or use dnschecker.org. If the A record points to the wrong IP, fix it.
  4. Check disk space on the server. A full disk is a common cause of 502s: MySQL cannot write, PHP cannot write sessions.
When to escalate

If hosting panel is unreachable too, this is a hosting-side outage. Open a ticket with your host and ask about their status page. Nothing you can do from WordPress will help.

Scenario 2: White Screen of Death

Symptom

Completely blank page, no error message

30-second diagnostic

White screen = PHP fatal error with error display disabled. The error exists — it is just hidden. Enable logging and you will see it in seconds.

5-minute fix

Edit wp-config.php via FTP or your host's file manager. Add these four lines just above /* That's all, stop editing! */:

define( 'WP_DEBUG',         true );
define( 'WP_DEBUG_LOG',     true );    // writes to wp-content/debug.log
define( 'WP_DEBUG_DISPLAY', false );   // hide errors from visitors
@ini_set( 'display_errors', 0 );

Reload the broken page. Then read wp-content/debug.log — the exact file, line number, and PHP function that crashed will be in the last few lines.

If the log says Allowed memory size exhausted, add one more line:

define( 'WP_MEMORY_LIMIT', '512M' );

If the log points at a specific plugin, deactivate that plugin by renaming its folder over FTP (e.g., /wp-content/plugins/slug/wp-content/plugins/slug.off). Site should come back.

When to escalate

If debug.log shows errors you do not understand (class not found, abstract method, type error in core files), you are probably looking at a PHP version mismatch — your host upgraded PHP and a plugin is not compatible. Ask your host to downgrade PHP temporarily, or read our detailed guide on the WordPress critical error screen.

Scenario 3: "Critical Error on This Website" Message

Symptom

Red / plain WordPress error page with the word "critical"

30-second diagnostic

WordPress caught a PHP fatal error and replaced the white screen with a friendlier message. Check your email — WordPress sends a recovery-mode link to the admin address with the full error stack trace.

5-minute fix
  1. Open Gmail / inbox for your admin email. Search "Your Site is Experiencing a Technical Issue." The email contains a recovery-mode link.
  2. Click the recovery link. WordPress loads wp-admin in a special mode where the offending plugin is auto-paused.
  3. Deactivate that plugin, update it (or find a replacement), reactivate. Done.
  4. If the email never arrived, enable WP_DEBUG_LOG (see Scenario 2) and read debug.log.
Most common triggers
  • Plugin auto-update installed a version incompatible with your PHP
  • Theme update removed a function a child theme relied on
  • WordPress core major update (like 6.9) deprecated a function — see our WP 6.9 recovery guide
  • Cache plugin serialized data that can't be unserialized after a version bump

Scenario 4: Site Is Hacked

Symptom

Redirects to spam, unknown admin users, strange files, Google Safe Browsing warning

30-second diagnostic

Open wp-admin → Users → All Users. Any admin you do not recognize? Check /wp-content/uploads/ for random .php files (uploads should only contain images and documents). Search site root for files like wp-conflg.php, wso.php, radio.php — classic backdoors.

5-minute containment
  1. Take the site offline by putting it in maintenance mode or returning a 503 in .htaccess — stop the attack from reaching visitors.
  2. Change every password in this order: hosting account, SFTP, database, then WordPress admin. Do this from a different, clean computer if possible.
  3. Rotate auth salts in wp-config.php. Generate fresh ones at api.wordpress.org/secret-key/1.1/salt/ and paste over the existing define('AUTH_KEY', ...) block. This force-logs-out every attacker session instantly.
  4. Install Wordfence or Sucuri and run a full scan. Follow the remediation list.
  5. Delete unknown admin users from Users → All Users.
  6. If you have a known-clean backup from before the compromise, restore from it. That is faster and safer than manual cleanup.
When to escalate

If you handle credit cards, GDPR-regulated personal data, or medical records, stop and call a professional incident response firm immediately. You may have legal notification obligations (72 hours for GDPR). Do not try to DIY a hack involving regulated data — document everything and bring in experts.

Scenario 5: Locked Out of wp-admin

Symptom

Wrong password, IP blocked, 2FA broken, redirect loop

30-second diagnostic

Which lockout is it? (a) Forgot password and email reset doesn't arrive, (b) security plugin banned your IP, (c) 2FA app got wiped, (d) you log in but immediately get redirected back to login.

5-minute fix — by lockout type

Forgot password, email broken: open phpMyAdmin in your hosting panel → select the WordPress database → table wp_users → edit your row → set user_pass to MD5 of your new password:

UPDATE wp_users
SET user_pass = MD5('MyNewSecurePass123!')
WHERE user_login = 'admin';

WordPress will detect the MD5 hash and upgrade it to bcrypt on your next login.

IP banned by security plugin (Wordfence, iThemes, Limit Login Attempts): connect via FTP, rename /wp-content/plugins/wordfence to /wp-content/plugins/wordfence.off. Log in, add your IP to the whitelist, rename the folder back.

2FA broken: same FTP trick — rename the 2FA plugin folder. Log in, reset your 2FA, re-enable the plugin.

Redirect loop (login succeeds, kicks you back to login): caused by cookies or URL mismatch. Clear all browser cookies for your site, or force the correct URL in wp-config.php:

define('WP_HOME','https://yoursite.com');
define('WP_SITEURL','https://yoursite.com');
When to escalate

If you lost access to the admin email AND cannot reach phpMyAdmin, you need your host — they can reset the WordPress password through the hosting panel.

Quick Reference — Symptom to Fix

SymptomLikely causeFirst action
Blank white pagePHP fatal, errors hiddenEnable WP_DEBUG_LOG, read debug.log
"Critical error" screenPHP fatal in plugin / themeCheck admin email for recovery link
"Error establishing database connection"DB credentials wrong, DB server downCheck wp-config.php DB creds, call host
502 Bad Gateway / 503PHP-FPM crashed, memory exhaustedRestart PHP / container from hosting panel
Redirect to spam siteCompromise — rogue admin, malwareRotate salts, scan with Wordfence, restore backup
Stuck in maintenance mode.maintenance file not removedFTP — delete /.maintenance in site root
Can't log in — wrong passLost password, email brokenReset user_pass in phpMyAdmin via MD5
Login redirect loopCookie / URL mismatchSet WP_HOME / WP_SITEURL in wp-config
Admin bar missing, site "almost works"Theme function deprecatedSwitch to Twenty Twenty-Four to isolate
Slow / timing outRunaway plugin, DB query, DDoSCheck New Relic or host's slow-query log

One-Click Repair With SimpleReview

If you do not want to spelunk through debug.log, edit wp-config.php over SFTP at 2am, or phone-support a developer, SimpleReview is a 24/7 AI-assisted emergency option. It works like this:

  1. Install the Chrome extension and open your broken site (any URL that loads, even the error page).
  2. Click the SimpleReview icon, then click the broken element — the red error box, a frozen button, the white page, a hacked banner.
  3. Type what you want to happen ("site is down — diagnose and fix") and click Fix it.
  4. SimpleReview pulls your debug.log over SFTP, reads the last fatal error, identifies the file and line, and opens a pull request with the one-line fix. You review it, merge, and the site is back.

It is not a replacement for a backup strategy or an experienced developer retainer — but when the site is down and nobody is answering the phone, it is the fastest way to get running again. See the product page for the full workflow.

Get Emergency Help — 24/7, AI-Assisted

Click the broken element. SimpleReview diagnoses the fatal error and ships a PR. No ticket queue, no waiting.

Install SimpleReview Chrome Extension →

Prefer a WordPress plugin? SimpleReview for WordPress → — 30-second install, no Chrome required.

When to Escalate to a Human

DIY emergency triage has limits. Call a professional developer or incident-response firm if any of these apply:

Before calling, prepare: hosting login, FTP credentials, the last known working date, a list of recent changes (plugin updates, deploys, migrations), and a screenshot of the error.

Prevent the Next Emergency

  1. Automated off-site backups, daily, retained 30 days. UpdraftPlus, BlogVault, or your host's backup plan — whichever actually runs without your attention.
  2. Staging environment for every major update. Apply WordPress core, plugin, and theme majors to staging first. Managed hosts (Kinsta, WP Engine, SiteGround) give one-click staging.
  3. Disable core auto-majors: add define( 'WP_AUTO_UPDATE_CORE', 'minor' ); to wp-config.php. Security patches still auto-apply; majors wait for you.
  4. Uptime monitoring — UptimeRobot, BetterStack, Pingdom — SMS you within 60 seconds of downtime. The worst emergencies are the ones you learn about from a customer.
  5. Keep the emergency kit in a password manager: hosting login, SFTP credentials, database credentials, domain registrar, DNS host, backup restore instructions. At 3am you will not remember where anything is.

Frequently Asked Questions

My WordPress site is down right now — what do I do first?
Open the site in an incognito window. If you see a plain "critical error" message, the issue is PHP — enable WP_DEBUG_LOG in wp-config.php and read wp-content/debug.log. If you see a host error page (503, 502, "Error establishing database connection"), the issue is server- or database-side — call your host. If the page loads but admin is broken, deactivate plugins via FTP by renaming /wp-content/plugins/ to /wp-content/plugins-off/.
What is the white screen of death in WordPress?
A completely blank white page, usually a PHP fatal error with error display disabled, a memory-limit exhaustion, or a plugin/theme incompatibility. Fix: enable WP_DEBUG_LOG, reload, read the exact fatal error from wp-content/debug.log. Memory limit can be raised by adding define( 'WP_MEMORY_LIMIT', '512M' ); to wp-config.php.
How do I know if my WordPress site is hacked?
Signs: unfamiliar admin users in Users → All Users, unknown files in site root (like wp-conflg.php or random .php files in /uploads/), sudden redirects to spam, Google Safe Browsing warning, or SEO spam pages you didn't create. Run Wordfence or Sucuri scanner, change all passwords, rotate auth salts in wp-config.php, and restore from a clean pre-compromise backup if you have one.
I am locked out of WordPress wp-admin — how do I get back in?
Three paths. (1) Use "Lost your password?" — if emails are broken, reset directly in the database via phpMyAdmin: UPDATE wp_users SET user_pass = MD5('newpass') WHERE user_login = 'admin'. (2) If a security plugin locked you out by IP, deactivate it via FTP by renaming its folder under /wp-content/plugins/. (3) If 2FA is broken, remove the 2FA plugin folder over FTP. Re-enable security after recovery.
When should I call an emergency WordPress developer?
Escalate if: (1) you don't have FTP/SFTP or hosting panel access, (2) the site was hacked and you handle sensitive customer data (GDPR/PCI), (3) the database is corrupted and restore points are gone, (4) you've tried rollback and plugin deactivation and the site is still down after 30 minutes. Before calling, collect: hosting login, FTP creds, last known working date, recent changes, and a screenshot of the error.
What is SimpleReview and how does it help in a WordPress emergency?
SimpleReview is an AI-assisted one-click repair tool for WordPress. Click the broken element on your site (error notice, frozen page, broken form) and SimpleReview reads your debug.log and source over SFTP, identifies the exact file and line of the fatal error, and generates a PR with the one-line fix. It works 24/7 — no ticket queue, no waiting for a developer to wake up.

Related WordPress Emergency Guides

Sources