Support » Fixing WordPress » Categories have vanished from Admin for posts and in category list

  • Resolved davewise


    I have been asked to look at a site that was, until a couple of days ago, working absolutely fine. But suddenly the categories have stopped being visible or assignable. The categories still show in the “Recently used” tab when creating a new post, but will not accept the assignment. The categories do not show under “Posts -> Categories” or in the “Available Categories” tab in “Create a new post”.

    Here are some screenshots of the admin backend for you to see

    <img src=”http://” width=”100%” />
    <img src=”http://” width=”100%” />

    I have tried the following in an attempt to resolve the issue:

    • Turned off all plugins
    • Clear /tmp
    • Reboot the server
    • Repair the DB using both a plugin and using WP_REPAIR, TRUE
    • Change the theme

    I am not sure now what’s left to try, I am a little confused because the permalinks to the categories work, the admin panel shows that the categories exist, trying to re-add the categories results in an error because the categories already exist.

    I am absolutely stumped!! If anyone knows the answer to this then please shout, don’t feel bad about making me feel stupid, right now, just knowing what the hell is going on will suit me just fine!

    Thanks in advance.


Viewing 7 replies - 1 through 7 (of 7 total)
  • Pioneer Web Design


    Sounds like a failed WordPress update – manually re-install WP (backup site first).

    Also check your site for possible malware at Sucuri



    No updates, no changes, not even a post added since the last. Hence only just noticing the issue :/ I am totally stumped, I didn’t particularly want to offer the advice “re-install everything” as it feels a bit of a copout so to speak. I had checked for malware through google, but I’ve just run that link supplied (Thanks! one to remember!) and all clean.

    Security report (No threats found):
    Blacklisted: No
    Malware: No
    Malicious javascript: No
    Malicious iFrames: No
    Drive-By Downloads: No
    Anomaly detection: No
    IE-only attacks: No
    Suspicious redirections: No
    Spam: No

    Seriously doing my noodle in, it just doesn’t make any sense.




    Just in case it helps here is the Filesystem usage:

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda5 7.8G 1.3G 6.2G 17% /
    /dev/sda1 122M 15M 101M 13% /boot
    /dev/sda6 186G 130G 47G 74% /home
    /dev/sda7 996M 34M 911M 4% /tmp
    /dev/sda2 20G 5.8G 13G 32% /usr
    /dev/sda3 9.7G 4.0G 5.3G 43% /var

    I’ve also found a video on YouTube of the same issue but with no resolution:

    Youtube video

    Pioneer Web Design


    I would still manually re-install WP to rule that out…basically you just replace the wp-admin and wp-includes folders….sounds like it would take you a few minutes.



    wp-admin and wp-includes have both been replaced with zero effect.

    Process for replacing

    > wget
    > unzip
    > mv wordpress vanilla-wordpress
    > cd working wordpress root
    > mv wp-admin /outside web root
    > mv wp-includes /outside web root
    > mv /vanilla-wordpress/wp-admin /web root
    > mv /vanilla-wordpress/wp-includes /web root

    Both directories have basically been completely replaced with the default directories included with the default distribution of wordpress 3.4.1

    Still the issue exists.



    I think it is something screwy with the way the hosting company provide the service, it has to be, it’s the only thing left that I cannot actually see. I have sent in a request to check the MySQL error logs (I don’t have visibility of them). It’s got to be something stupid, I think we’ve now exhausted all the clever stuff LOL!

    I’ll keep this thread posted on any replies/resolutions.


    Right, final update.

    Hosting company updated their systems and managed to screw the permissions on /tmp. After my asking them to check the MySQL error logs it was found to be a /tmp permissions problem.

    As soon as the permissions were corrected the categories came straight back.

    WordPress really should give the errors it encounters like this to the admin panel.

    Anyway, its now all working again.


Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Categories have vanished from Admin for posts and in category list’ is closed to new replies.