Forums

[resolved] Databse error (3 posts)

  1. BPartch
    Member
    Posted 5 years ago #

    I just upgraded from 2.0.1 to 2.1.3 and got this error after I ran the upgrade script:

    WordPress database error: [Duplicate entry '0' for key 1]
    INSERT INTO wp_categories (cat_ID, cat_name, category_nicename, category_description, category_parent, links_private, posts_private) VALUES ('0', 'Upcoming Interviews', 'upcoming-interviews', '', '0', '0', '0')

    Is this something I need to be worried about? If so, what should I do? I did backup the old files but would hate to have to re-upload them again if avoiding it is at all possible.

  2. MichaelH
    Volunteer
    Posted 5 years ago #

    Based on this thread: http://wordpress.org/support/topic/72981?replies=11

    Wonder if the wp_categories doesn't have the auto_increment set for the cat_ID field?

  3. BPartch
    Member
    Posted 5 years ago #

    Thanks, that seemed to fix it. :)

Topic Closed

This topic has been closed to new replies.

About this Topic