Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 10 years ago

#4921 closed defect (bug) (fixed)

Errors durung 2.2.x to 2.3 upgrade

Reported by: nazgul's profile Nazgul Owned by: nazgul's profile Nazgul
Milestone: 2.3 Priority: high
Severity: major Version: 2.3
Component: General Keywords: has-patch
Focuses: Cc:

Description

The following errors are shown during a 2.2.x to 2.3 upgrade:

WordPress database error: [Field 'option_description' doesn't have a default value]
INSERT INTO wp_options (option_name, option_value, autoload) VALUES ('new_users_can_blog', '0', 'yes')

WordPress database error: [Field 'option_description' doesn't have a default value]
INSERT INTO wp_options (option_name, option_value, autoload) VALUES ('tag_base', '', 'yes')

This is caused by calling populate_options before upgrade_230_options_table during the upgrade.

Attachments (1)

4921.diff (631 bytes) - added by Nazgul 17 years ago.

Download all attachments as: .zip

Change History (4)

@Nazgul
17 years ago

#1 @Nazgul
17 years ago

  • Keywords has-patch added
  • Owner changed from anonymous to Nazgul
  • Status changed from new to assigned

#2 @markjaquith
17 years ago

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

(In [6053]) Upgrade the options table before calling populate_options() to avoid errors. Props Nazgul. fixes #4921

#3 @chriscct7
10 years ago

#13875 was marked as a duplicate.

Note: See TracTickets for help on using tickets.