@jarrodcase you are a life saver! A SECOND of my sites went down today too, and if it was for that little bit of code I would be spending my evening re-doing the whole site. Thank you!
So i’ve switched to twenty twelve, and the site loads fine, as soon as I switch back to the original theme I want to use for the site, the error is back ??