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