The only way I fixed this problem was to drop the database (after backing it up), and then do a fresh install. I then manually installed the posts and comments (INSERT_TABLE) – I also uninstalled all plugins and reloaded them, and then reactivated them. This seemed to work for me.