WordPress Upgrade Sucessful, Gallery not so.

I’ve lost the theme I used for my gallery and all the database entries oops!