The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Errors Adding New Category After Upgrade (2 posts)

  1. justelise
    Posted 9 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')

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

  2. Ajd777
    Posted 9 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