• Ever since I have upgraded from Flutter to Magic Fields, I have noticed that I have double posts in all of my Flutter custom post types.

    Both of the ID’s for each of the posts are identical, but they simply show up twice. If I delete one, the other gets removed as well.

    Is there an easy way to remove these duplicate posts from showing up?

    PS, here’s a screenshot so you have an idea of what I’m talking about: https://d.pr/9cnQ

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author hunk

    (@hunk)

    Thread Starter Pagelift

    (@pagelift)

    Hi hunk, thanks for the reply and link.

    This seems to be the exact problem I am having, but like the people in this post, each duplicate post listing is the exact same ID, and deleting one deletes both entries.

    You seem pretty knowledgable on this topic judging from your replies on this post; how do I go about removing these duplicates from my database?

    Thanks!

    Thread Starter Pagelift

    (@pagelift)

    Ok, I seemed to have temporarily fixed the issue.

    I ran the following SQL command inside my PHP MyAdmin:
    select * from wp_postmeta where wp_postmeta.meta_key = '_mf_write_panel_id' and wp_postmeta.meta_value = '1'

    I then deleted all duplicate entries that showed up. This seemed to have removed any duplicate listings. For other custom post types, just replace the “1” with your post type ID (click on the post type in your WP-Admin to find the ID in the URL).

    Is it safe to assume this is a bug that needs to be fixed within Magic Fields?

    Plugin Author hunk

    (@hunk)

    Hi you can run this script https://gist.github.com/1177018 mydomain.com/duplicate.php

    this script delete only a one reference of write panel

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Duplicate posts under WordPress backend’ is closed to new replies.