That was very weird. I just created a new theme (as far as I can tell, it’s EXACTLY the same as the old theme) and hey presto! the sidebar error messages seem to be gone. My webhost told me categorically that it was something that was ONLY happening on my site.
Don’t I feel special?
Eventually, I’ll revamp the look. But I’m lazy and would much rather spend my time eating dinner.