Hello ACF Team & all,
I encountered a bug where meta values of ACF fields are duplicated in the database when Gutenberg is enabled for the specific post type.
There is a custom post type for events. ACF fields are used to store information that is to be used in a sidebar. The pages main content was handled by the classic editor. Everything worked fine, until we change the editor used to Gutenberg. Gutenberg is to replace the main content, the ACF fields used for the sidebar remained untouched.
When saving the post with Gutenberg enabled, meta values are duplicated in the database randomly. These is no structure to which fields are duplicated, sometimes everything is fine. Note that only the fields containing the actual value are duplicated, not the accompanying ACF reference fields.
I don’t know how to prevent this from happening. Has anyone encountered this problem before?
Thanks in advance!