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?
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?
Share Improve this question asked Dec 8, 2015 at 23:54 ArsylumArsylum 1114 bronze badges 1- Interesting observation: The failing deletion procedure strips the respective user off it's role and nickname. Possibly others fields as well. – Arsylum Commented Dec 13, 2015 at 0:08
1 Answer
Reset to default 0When 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.