Can’t Edit Posts in WordPress

A friend was asking advice on an issue he was having with his WordPress Blog whereby since upgrading to WordPress 3.5.1, he couldn’t edit any posts. He would try to edit the text, then save but none of the changes were saved. The only strange thing he’d done was to add a new user and delete the old one. Posts were showing as un-assigned to any user and refused to allow themselves to be re-assigned.

After a bit of messing around with the usual fixes such as de-activating plugins, re-uploading WordPress files manually etc..I decided to do a Check and Repair on the database in Cpanel and after a couple of goes, all was working again.

In Cpanel click on the “MySQL Databases” icon and then Check & Repair as below for the database in question:

Corrupt Database