Support

Account

Home Forums General Issues Duplicate post/page with Gutenberg ACF blocks

Solving

Duplicate post/page with Gutenberg ACF blocks

  • I started using ACF Gutenberg Blocks but with this new approach I found out, that when duplicating posts/pages, the layout is ok but empty (no content).

    Almost all blocks are empty or there are artefacts of some kind. Sometimes in wysiwyg I see “rm” or “rn” chars that was not there.

    I tried multiple plugins. I thinks that this is not a bug, but a feature based on that how ACF Gutenberg Blocks are created.

    Yet it would be nice if there was a tool or way to do so. Any help?

    • emmahug

    • October 18, 2019 at 1:23 am

    +1 I’m having the same problem! Were you able to find a solution to this?

  • This issue has also come up for me. I’ve tested both the Duplicate Post and Duplicate Page plugins but the block content doesn’t get duplicated… Just the empty block exists on the new post or page.

    Has anyone had success in fixing this issue?

    • Mfelton

    • October 18, 2019 at 1:38 am

    Also having this issue… Has anyone come up with a solution?

  • I already contacted the support. They replicated the issue and DEV told me:

    Interesting issue. It looks to me that the duplicator plugins are causing the post_content data to become corrupt in some way when the post is copied.
    This may not be a specific issue in the duplicator plugins themselves, but may be an issue with one of the WP post_content filters being run when the post is inserted into the DB.

    I’ll add this to my list of issues to fix, but won’t be able to provide you with an ETA on a fix just yet.

    It would be great if you could perform some more investigation to determine if there are some use-cases when the duplicator plugins do work.
    For example, create a new block type with a very simple field group (one text field). Try to replicate the issue on a new post, adding only one of this block type. If this works, try adding two blocks. If this works, try adding more complex field types to the block, etc

    I plan to try some investigation this weekend and anyone else can too 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.