Title: Upgrade errors
Last modified: August 18, 2016

---

# Upgrade errors

 *  [ajaychandra](https://wordpress.org/support/users/ajaychandra/)
 * (@ajaychandra)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/upgrade-errors/)
 * I got the following when I ran upgrade.php to get from 1.0 to 1.0.1
    WordPress
   SQL/DB Error: [You have an error in your SQL syntax near ” at line 1] SELECT *
   FROM wp_options WHERE option_id = SQL/DB Error: [Duplicate entry ’55-0-default_post_status’
   for key 1] INSERT INTO wp_options (option_id, option_name, option_type, option_value,
   option_description, option_admin_level, option_width) VALUES(55,’default_post_status’,
   5, ‘publish’, ‘The default state of each new post’, 8, 20) SQL/DB Error: [You
   have an error in your SQL syntax near ” at line 1] SELECT * FROM wp_options WHERE
   option_id = SQL/DB Error: [Duplicate entry ’56-0-default_comment_status’ for 
   key 1] INSERT INTO wp_options (option_id, option_name, option_type, option_value,
   option_description, option_admin_level, option_width) VALUES(56,’default_comment_status’,
   5, ‘open’, ‘The default state of comments for each new post’, 8, 20) SQL/DB Error:[
   You have an error in your SQL syntax near ” at line 1] SELECT * FROM wp_options
   WHERE option_id = SQL/DB Error: [Duplicate entry ’57-0-default_ping_status’ for
   key 1] INSERT INTO wp_options (option_id, option_name, option_type, option_value,
   option_description, option_admin_level, option_width) VALUES(57,’default_ping_status’,
   5, ‘open’, ‘The default ping state for each new post’, 8, 20) SQL/DB Error: [
   You have an error in your SQL syntax near ” at line 1] SELECT * FROM wp_options
   WHERE option_id = SQL/DB Error: [Duplicate entry ’58-0-default_pingback_flag’
   for key 1] INSERT INTO wp_options (option_id, option_name, option_type, option_value,
   option_description, option_admin_level, option_width) VALUES(58,’default_pingback_flag’,
   5, ‘1’, ‘Whether the \’PingBack the URLs in this post\’ checkbox should be checked
   by default’, 8, 20) SQL/DB Error: [You have an error in your SQL syntax near ”
   at line 1] SELECT * FROM wp_options WHERE option_id = SQL/DB Error: [Duplicate
   entry ’59-0-default_post_category’ for key 1] INSERT INTO wp_options (option_id,
   option_name, option_type, option_value, option_description, option_admin_level,
   option_width) VALUES(59,’default_post_category’, 7, ‘1’, ‘The default category
   for each new post’, 8, 20) SQL/DB Error: [You have an error in your SQL syntax
   near ” at line 1] SELECT * FROM wp_options WHERE option_id = SQL/DB Error: [Duplicate
   entry ’83-0-default_post_edit_rows’ for key 1] INSERT INTO wp_options (option_id,
   option_name, option_type, option_value, option_description, option_admin_level,
   option_width) VALUES(83,’default_post_edit_rows’, 1, ‘9’, ‘The number of rows
   in the edit post form (min 3, max 100)’, 8, 5) Step 1 There’s actually only one
   step. So if you see this, you’re done. Have fun! Anything to be worried about?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/upgrade-errors/#post-33351)
 * ajay,
    I believe that this is simply a code fart. That’s what Cena said, anyways…
   😛 Craig.
 *  [karlb](https://wordpress.org/support/users/karlb/)
 * (@karlb)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/upgrade-errors/#post-33368)
 * This has now been fixed in the alpha 1.01 build of WP dated 30/01/2004
    Cheers
   Karl

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Upgrade errors’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [karlb](https://wordpress.org/support/users/karlb/)
 * Last activity: [22 years, 4 months ago](https://wordpress.org/support/topic/upgrade-errors/#post-33368)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
