Have you tried:
– deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
– switching to the Twenty Ten theme to rule out any theme-specific problems.
– resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.
Yeah, that’s the first thing I tried when I noticed the problem.
I’ve also tried overwriting all wordpress files but that didn’t do anything either. Based on that I’m thinking it’s some sort of database problem, maybe some tables didn’t upgrade correctly when updating wp or something?
Hmm, there seem to be more problems than I though. I tried running wp-optimise and while it says that it’s deleted all posts revisions, nothing actually happend. Same for delete drafts or deleting Spam comments etc.
Also when I tried to optimise the database tables again it says they’ve been optimised but when I reload the plugin page it says the tables need to be optimised.
When I manually tried to delete some stuff (obsolete pages etc) it moves them to the trash, but when I try to empty the trash nothing actually happens.. Can anybody help me figure out what’s going on?
Also when I tried to optimise the database tables again it says they’ve been optimised but when I reload the plugin page it says the tables need to be optimised.
You did all this in phpmyadmin
Then it sounds like mysql got corrupted if such simple function does not work
try fixing mysql tables
http://www.hmailserver.com/documentation/?page=howto_repair_mysql
http://www.thegeekstuff.com/2008/09/how-to-repair-corrupted-mysql-tables-using-myisamchk/
http://www.karakas-online.de/EN-Book/repair-corrupt-table.html
Turned out somebody at the hosting company decided to take away the delete rights of the database user without telling me about it. That was the cause of all the problems.
So for anybody who finds this, check that first or feel like an idiot after a couple hours of digging.