My blog hasn’t been up and running for the last 24 hours or so. This is because I foolishly decided to upgrade to PHP5. After playing “guess which extensions wordpress-pg needs,” I then got served up a lovely blank page.
But what’s really annoying is that there was no indication at all of anything going wrong in the error log. Or on the browser. Just nothingness. After inserting lots and lots of debug “echo” statements (thankfully I know enough PHP to do that), I eventually tracked the point of stoppage down to a call to pg_fetch_object(). Close inspection of the manual revealed that it had changed how it was called between version 4 and 5. Great backwards compatibility, guys! Removing the last parameter enabled me to get going again though. I just wish I had been able to see an error.