WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#5223 closed defect (bug) (fixed)

Duplicate entry errors when inserting term relationships during upgrade to 2.3

Reported by: ryan Owned by:
Milestone: 2.3.1 Priority: normal
Severity: normal Version: 2.3
Component: General Keywords: upgrade
Focuses: Cc:

Description (last modified by ryan)

WordPress database error: [Duplicate entry '106-14' for key 1]
>> INSERT INTO wp_term_relationships (object_id, term_taxonomy_id) VALUES
>> ('106', '14')

As explained on the hackers list, this is a benign error that doesn't hurt the upgrade. However, the error messages are ugly and should be avoided.

http://comox.textdrive.com/pipermail/wp-hackers/2007-September/015100.html

Change History (4)

comment:1 @ryan7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [6268]) Group results when selecting from post2cat and link2cat to avoid dupes. fixes #5223 for 2.3

comment:2 @ryan7 years ago

(In [6269]) Group results when selecting from post2cat and link2cat to avoid dupes. fixes #5223 for trunk

comment:3 @ryan7 years ago

  • Description modified (diff)

comment:4 @foolswisdom7 years ago

  • Summary changed from Duplicate entry errors when inserting term relationships during ugrade to Duplicate entry errors when inserting term relationships during upgrade to 2.3
Note: See TracTickets for help on using tickets.