White screen after a theme update
Updated the theme from the dashboard, pressed refresh, and everything is white. Admin too. I cannot even log in to undo it.
What the diagnosis found
The child theme used a PHP function that was removed in PHP 8.2, and the host had moved the site to 8.2 the week before. The old theme version happened not to call that code on every page; the new one does, so every page died. The error was in the server log, hidden from visitors by the site's debug settings.
What was done
- Backup of files and database
- The one line replaced with the current function, on a copy first
- PHP pinned at 8.1 at the host until the theme's vendor fixes the child theme, with a note on how to unpin
- Front page, admin, a post and a form checked; applied live
- Received."White screen everywhere after a theme update."
- Diagnosed and quoted.Removed PHP function in the child theme. Quick fix.
- Approved.Hosting login given (admin was unreachable).
- Backup done.Files + database, 410 MB.
- Fixed.One line replaced, PHP pinned, all pages back.
- Confirmed. Paid."Back. Thank you."
What to watch for
From the report the owner received.
- When the host announces a PHP upgrade, run the site on the new version on a staging copy first
- Child themes written by an agency years ago are the usual place for this; the report lists the two other functions in it that will go next
On the bench this is
White screen of death: A blank page after a plugin update. We read the log, find the line, fix or roll back.
How this repair runs → WordPress repairs →
Same problem? Put it on the bench →More from the wall
"Error establishing a database connection" at 3 a.m.
Seen: The site shows a database connection error.
Cause: The server's disk was full.
Quick fix · 19 minutes on the bench · 30 October 2026Google's red "deceptive site" warning
Seen: Visitors get a full red page saying the site is deceptive.
Cause: The site had been hacked through a contact-form plugin that had not been updated since 2023.
Rescue · cleared in 2 days · 27 October 2026Certificate expired while the auto-renewal said it had worked
Seen: Browsers say the connection is not private.
Cause: The renewal had produced a new certificate, but the web server was never reloaded, so it kept serving the old one until…
Quick fix · 11 minutes on the bench · 14 November 2026