WordPress.org

Ready to get started?Download WordPress

Forums

Errors Adding New Category After Upgrade (2 posts)

  1. justelise
    Member
    Posted 7 years ago #

    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')
    0

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

  2. Ajd777
    Member
    Posted 7 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic