Support » Plugin: Yoast SEO » Fatal Error during post update

  • Resolved didax


    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)
  • We had the same issue…

    Plugin Support Md Mazedul Islam Khan


    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.

    Plugin Support Md Mazedul Islam Khan


    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.