WordPress.org

Forums

2.51 All Categories Gone (5 posts)

  1. complemedia
    Member
    Posted 6 years ago #

    Hi everyone. Please help, need this resolved ASAP as I have clients looking at my web site today. Today I logged into my web site and all of my categories are gone

    In admin:
    -Categories do not appear in category listing
    -Categories are not attached to individual posts in post listing
    -Categories are not available to posts when writing new posts or editing old ones

    I am a newbie, but I checked in the database and:
    -Posts seemed to be assigned to categories in the post_category field
    -The categories exist in the term table

    What I have done:

    I tried adding some new categories, but for some reason the do not stick. They are created but then if I navigate to the category listing admin they do not show up. Any thoughts?

  2. Jimmyhotfingers
    Member
    Posted 6 years ago #

    Did you get this fixed? I have exactly the same problem.

  3. smashingred
    Member
    Posted 6 years ago #

    Having the same problems with 2.5.1. What MySQL version are you using on your server? I am using MySQL 5.0.45 on the problem db. Did you use WP Automatic Upgrade to upgrade (did on this site).

    Actually it isn't showing archive list either. I'm also having a problem with it not showing author names on index. It shows one of them and then you scroll down to look at another post and the author name is not showing. I had thought it might have been an illegal copied and pasted character into the post that might have caused a problem but I unpublished all the latest posts and it doesn't help.

    I actually think this is function bug relating to the db but I am not as up on the WP classes as I once was.

  4. Mike
    Member
    Posted 6 years ago #

    I'm having the same problem. My categories appear to be intact, but the "All Categories" listing when creating or modifying a post is empty. The "Most Used" tab still displays categories, but the post is not assigned to any selected categories when published.

  5. jbickers
    Member
    Posted 6 years ago #

    There's a quick-and-dirty way to fix this, but it'll require you to know which ID corresponds to which of your categories (which you should be able to reason out by looking at your site).

    First, create a new temporary category. This seems to "un-stuck" the works. (Yes, that's the technical term.) You can then immediately delete it.

    Then, use direct URL addressing to get to the edit screen for each of the categories. For instance:

    yoursite.com/wp-admin/categories.php?action=edit&cat_ID=XXX

    ... where XXX is the ID of the category. That'll take you to a screen where you can re-enter title, slug and description. Repeat with each category.

Topic Closed

This topic has been closed to new replies.

About this Topic