Nothing like a bit of late night Wordpress troubleshooting to solve not being able to sleep.