Last week there were a number of WordPress updates screaming for attention in the WordPress Dashboard, and I clicked on all the “Update everything yes please” buttons. I had made a backup of the databases but not the code installations – hey, I hadn’t touched code in months and besides it’s mainly plugins that updated and they wanted to add the Twenty Fifteen theme which I’m not even maybe using.
Updates … complete.
And a day later, the website she broke.
What?
Exactly.
Don’t know how it happened, but it did.
See, the Archives and Newsletter pages gave cryptic notes instead of, you know, the actual pages. And every time I tried to log into the Dashboard I got “Warning: Cannot modify header information – headers already sent by…” messages.
So. Annoying. What’s the point of a blog if you can’t add posts?! Argh.
Luckily, this FAQ has an “Interpreting the Error Message” section. See, I was looking in the second file listed in the message, not the first one.
The first one, template-tags.php in my custom creative_fisheries_s theme directory, had some leading spaces before the opening <?php tag.
What?
Where?
Why?
How?
Gah?
IDK. But I can write this post now so obviously I fixed the problem.
+1 php experience for website coding yes.