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?
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 🙂
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!