WPML
Status
Open
Reported for
Advanced Custom Fields Multilingual 2.2.4
Topic tags
Compatibility, Performance

Overview of the issue

When using Advanced Custom Fields Multilingual with WPML, you might experience performance issues when updating secondary language posts that contain many ACF custom fields set to Copy Once. In some cases, the update process can take several minutes and may fail with an HTTP 502 error.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Open the …/wp-content/plugins/acfml/classes/class-wpml-acf-worker.php file.
  • Look for line 108.
  • Replace:
     
    remove_filter( 'acf/$metaKey', $keepOnlyLastFieldReference );
  • With:
     
    remove_filter( 'acf/load_reference', $keepOnlyLastFieldReference );

This issue will be fixed in the next ACFML release.

All known issues →