Title: Error while posting
Last modified: August 18, 2016

---

# Error while posting

 *  [frankcostanza](https://wordpress.org/support/users/frankcostanza/)
 * (@frankcostanza)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/error-while-posting/)
 * I get the following error whilst posting:
 *     ```
       WordPress database error: [Duplicate entry '0' for key 1]
       INSERT INTO wp_usermeta ( user_id, meta_key, meta_value ) VALUES ( '1', 'wp_autosave_draft_ids', 'a:1:{i:-1190814115;i:28;}' )
       ```
   
 * It should be noted that even though I get the error, the post is still published.

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

 *  Thread Starter [frankcostanza](https://wordpress.org/support/users/frankcostanza/)
 * (@frankcostanza)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/error-while-posting/#post-626470)
 * Ooops, hit SEND POST to quickly, I just upgraded to 2.3 and this is when the 
   error started.
 *  Thread Starter [frankcostanza](https://wordpress.org/support/users/frankcostanza/)
 * (@frankcostanza)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/error-while-posting/#post-626510)
 * SOLVED: Auto Increment for wp_usermeta was not properly set. Also modified a 
   duplicate key entry in user_id and meta_key

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

The topic ‘Error while posting’ is closed to new replies.

## Tags

 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [frankcostanza](https://wordpress.org/support/users/frankcostanza/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/error-while-posting/#post-626510)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
