Recently I tried to move a WordPress instance to a production server and (besides other issues) had to deal with a page that could not be deleted via the admin panel. The success message would show up but the entry remains in the list and doesn't get removed. Also the content association with this page was somehow broken. It would always show an empty box when editing but the content that should have been there was showing up on the page.

Now I've came across a undeletable user in another instance that I didn't do anything funky with (like changing it's environment). Same behavior: It gives me the green 'User deleted' message but doesn't actually do anything. I noticed that for this user the Name column is empty, but in the database the user_nicename value is there. Weird..

I know this is probably very hard to diagnose and answer here, but maybe someone had similar issues in the pasts and gained some insights?

  • Interesting observation: The failing deletion procedure strips the respective user off it's role and nickname. Possibly others fields as well. – Arsylum Dec 13 '15 at 0:08

When I see behavior like this, it's almost always a corrupt MySQL table or two. You can activate WordPress's built-in repair tool by adding define( 'WP_ALLOW_REPAIR', true ); to your wp-config.php file and visiting {$your_site}/wp-admin/maint/repair.php

You can remove the define after you're done.

| improve this answer | |
  • Thank's, that looked promising, unfortunately didn't change anything. :( – Arsylum Dec 9 '15 at 6:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.