Title: Fatal Error during post update
Last modified: August 29, 2017

---

# Fatal Error during post update

 *  Resolved [didax](https://wordpress.org/support/users/didax/)
 * (@didax)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-during-post-update/)
 * After updating to the latest version, I get a fatal error saving a post update.
 * **PHP Fatal error**: `Uncaught exception 'mysqli_sql_exception' with message '
   Duplicate entry '2981' for key 'object_id'' in /wp-includes/wp-db.php:1877`
    **
   Stack trace**:
 *     ```
       #0 /wp-includes/wp-db.php(1877): mysqli_query(Object(mysqli), 'INSERT INTO )
       #1 /wp-includes/wp-db.php(1765): wpdb->_do_query('INSERT INTO )
       #2 /wp-includes/wp-db.php(1989): wpdb->query('INSERT INTO )
       #3 /wp-includes/wp-db.php(1910): wpdb->_insert_replace_helper('yoast_seo_me...', Array, NULL, 'INSERT')
       #4 /wp-content/plugins/wordpress-seo/admin/class-database-proxy.php(47): wpdb->insert('yoast_seo_me...', Array, NULL)
       #5 /wp-content/plugins/wordpress-seo/admin/class-database-proxy.php(87): WPSEO_Database_Proxy->insert(Array, NULL)
       #6 /wp-content/plugins/wordpress-seo/admin/class-meta-storage.php(72): WPSEO_Database_Proxy->upsert(Array, Array)\n# in /data/giochistars/develop/wp-includes/wp-db.php on line 1877, referer: /wp-admin/post.php?post=2981&action=edit
       ```
   

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

 *  [Pantomedia S.r.l.](https://wordpress.org/support/users/pantomedia/)
 * (@pantomedia)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-during-post-update/#post-9453182)
 * We had the same issue…
 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-during-post-update/#post-9478851)
 * We apologies for any inconvenience this issue may have caused you. It looks like
   a plugin or theme conflict. Can you try and gather as much information for us
   as possible? Please perform the following:
 * 1. Make sure the issue doesn’t persist when Yoast SEO is disabled.
    2. Check 
   for conflicts. 3. Check for JavaScript errors with your console.
 * If you find any JavaScript errors related to Yoast SEO or if there is a conflict
   with a plugin or a theme, you can create a new GitHub issue for our developers.
   Please report the issue to a third party developer as well.
 * If you didn’t find any conflicts or errors, we think the issue is specific to
   your site. We’d need to investigate further but are unable to do so on these 
   forums. You can purchase Yoast SEO Premium and receive our Premium email support
   and we can help you further.
 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-during-post-update/#post-9502217)
 * Closed due to inactivity

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

The topic ‘Fatal Error during post update’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-during-post-update/#post-9502217)
 * Status: resolved