Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Database Error for Duplicate Entry

Discussion in 'Misc WordPress Requests' started by sswsweb, Feb 27, 2018.

  1. sswsweb

    Guest

    Database Error for Duplicate Entry, by sswsweb

    When I enter any new page into a menu be going to “appearance” & “menus”, I get get 9 different errors that are just like this:

    WordPress database error: [Duplicate entry ‘5531’ for key ‘PRIMARY’]
    INSERT INTO wp_postmeta (post_id, meta_key, meta_value) VALUES (3035, ‘_menu_item_type’, ‘post_type’)

    WordPress database error: [Duplicate entry ‘5531’ for key ‘PRIMARY’]
    INSERT INTO wp_postmeta (post_id, meta_key, meta_value) VALUES (3035, ‘_menu_item_menu_item_parent’, ‘0’)

    WordPress database error: [Duplicate entry ‘5531’ for key ‘PRIMARY’]
    INSERT INTO wp_postmeta (post_id, meta_key, meta_value) VALUES (3035, ‘_menu_item_object_id’, ‘3033’)

    WordPress database error: [Duplicate entry ‘5531’ for key ‘PRIMARY’]
    INSERT INTO wp_postmeta (post_id, meta_key, meta_value) VALUES (3035, ‘_menu_item_object’, ‘page’)

    WordPress database error: [Duplicate entry ‘5531’ for key ‘PRIMARY’]
    INSERT INTO wp_postmeta (post_id, meta_key, meta_value) VALUES (3035, ‘_menu_item_target’, ”)

    WordPress database error: [Duplicate entry ‘5531’ for key ‘PRIMARY’]
    INSERT INTO wp_postmeta (post_id, meta_key, meta_value) VALUES (3035, ‘_menu_item_classes’, ‘a:1:{i:0;s:0:\”\”;}’)

    WordPress database error: [Duplicate entry ‘5531’ for key ‘PRIMARY’]
    INSERT INTO wp_postmeta (post_id, meta_key, meta_value) VALUES (3035, ‘_menu_item_xfn’, ”)

    WordPress database error: [Duplicate entry ‘5531’ for key ‘PRIMARY’]
    INSERT INTO wp_postmeta (post_id, meta_key, meta_value) VALUES (3035, ‘_menu_item_url’, ”)

    WordPress database error: [Duplicate entry ‘5531’ for key ‘PRIMARY’]
    INSERT INTO wp_postmeta (post_id, meta_key, meta_value) VALUES (3035, ‘_menu_item_orphaned’, ‘1519757827’)

    Any help would be greatly appreciated!

    Database Error for Duplicate Entry
     
    #1

Share This Page

Monarch Social Sharing Plugin