Ticket #4921 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Errors durung 2.2.x to 2.3 upgrade

Reported by: Nazgul Assigned to: Nazgul
Priority: high Milestone: 2.3
Component: General Version: 2.3
Severity: major Keywords: has-patch
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

4921.diff (0.6 kB) - added by Nazgul on 09/06/07 22:48:46.

Change History

09/06/07 22:48:46 changed by Nazgul

  • attachment 4921.diff added.

09/06/07 22:50:01 changed by Nazgul

  • keywords set to has-patch.
  • owner changed from anonymous to Nazgul.
  • status changed from new to assigned.

09/06/07 23:08:26 changed by markjaquith

  • status changed from assigned to closed.
  • resolution set to fixed.

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