Skip Navigation

Resolved

Reported for: Advanced Custom Fields Multilingual 2.0.2

Resolved in: 2.0.3

Topic Tags: Compatibility

Overview of the issue

With our latest Advanced Custom Fields Multilingual release, ACFML 2.0, when the  Field Groups (acf-field-group) are set as Translatable (and translated), fields are duplicated in the native editor. This issue occurs because the function acf_get_field_groups() is called too early, causing the cache to be filled with unfiltered or partially filtered data. The cached field groups are not filtered by language at that stage.

Workaround

Our developers are working on fixing this right now. A hotfix release will be issued shortly.

In the meantime, you can add this code into your theme’s functions.php file. Be sure to make a full backup of your site before proceeding:

add_action( 'wp_loaded', function() {
    wp_cache_delete( acf_cache_key( 'acf_get_field_group_posts' ), 'acf' );
} );

4 Responses to “Advanced Custom Fields Multilingual - Fields are duplicated in the native editor when acf-field-group is set as translatable”

  1. This issue also seem to prevent loading other ACF fields/field groups set as Translatable, also the content for some fields is no longer shown and they appear empty.