Can't edit or add a post

I'm having an issue editing and creating posts on my site. I get a message asking me to restore the backup. I did some googling of the problem but could find no real solution. I'm also in debug mode, but no errors seem to be showing.