Support » Fixing WordPress » Errors Adding New Category After Upgrade

  • After upgrading to WP 2.1 I get the following error when trying to add a new category:

    WordPress database error: [Unknown column ‘links_private’ in ‘field list’]
    INSERT INTO wp_categories (cat_ID, cat_name, category_nicename, category_description, category_parent, links_private, posts_private) VALUES (‘0’, ‘GTD’, ‘gtd’, ”, ‘0’, ‘0’, ‘0’)

    I went into phpmyadmin and could not find ‘links_private’ under field list in the wp_categories table.

Viewing 1 replies (of 1 total)
  • Are you sure you ran upgrade.php?

    If so you should have the following three new columns in that table:
    link_count BIGINT
    posts_private TINYINT
    links_private TINYINT

    If you are absolutely sure you ran upgrade.php then something must have caused an error. Just add them manually.

Viewing 1 replies (of 1 total)
  • The topic ‘Errors Adding New Category After Upgrade’ is closed to new replies.