A blank page after an update
The site loaded its background colour and then stopped, leaving a blank page where the content should have been.
It happened straight after a WordPress update. The update wasn’t a mistake: WordPress asks you to update, and updating is the right thing to do.
The real problem was underneath. The site was built in 2020 and the layers below WordPress hadn’t moved since, so it was still running the same old theme on the same old version of PHP. Updating one part while the rest stayed in 2020 was enough to take the whole thing down, and nothing in the dashboard warns you about that.
There was a second problem, and it’s the one that mattered more. Nobody had ever shown Tara the hosting control panel. She didn’t know the PHP version was something that could be changed, or that it needed changing. The only update button she’d been shown was the one inside WordPress, so that’s the one she pressed.
Tara had reopened in April, and for the week the site was down she took bookings over the phone and through Facebook.
Finding the fault on a copy
I left the live site alone to start with and rebuilt a copy of it on a private server of my own, where I could break it as many times as I needed to without anyone seeing.
Then I tracked down the fault instead of guessing at it. Updating WordPress on the copy brought the blank page straight back, and swapping the theme out made it go away. That put the problem in the theme, so I could fix the part that was actually broken rather than everything that looked old.
The current version of the theme sorted out most of it. One bug was left: the site crashed whenever a post was missing its featured image. I wrote a small patch for that and kept it on file, so it can go back on if the theme updates again.
Before anything touched the live site I took a full backup. Then I brought the server up to a current version of PHP and deployed only the parts that had changed, so her images, content and settings stayed exactly where they were.
Where it’s at now
The site is back. WordPress, the theme and PHP are all current and in step with each other, so the next update won’t have five years of drift to fall through.
Routine security updates now install themselves. The bigger yearly upgrades need someone watching, and Tara knows to ask me first rather than find out afterwards.
She also knows what she’s got now: where the site lives, what controls it, and which parts update separately from each other.
