• 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!

Viewing 1 replies (of 1 total)
  • This may be a plugin or theme conflict. Please attempt to disable all plugins, If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install “Health Check”: https://ww.wp.xz.cn/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

Viewing 1 replies (of 1 total)

The topic ‘Database Error for Duplicate Entry’ is closed to new replies.