So I figured out what the problem was (I’m just posting here in case someone else bumps into the same issue). It turns out that the gallery 2 plugin is extremely incompatible with a plugin that reformatted the dates of archived posts. I had to uninstall the entire gallery, then I was able to get back into the wordpress blog.