Overview of the Issue
After updating to Advanced Custom Fields Multilingual 1.9.0, you may notice an increase in the number of queries and numerous slow queries.
So far, this situation seems to be exclusively related to themes with ACF fields locally stored in /acf-json/ folders.
Workaround
This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.
Our developers are working on it. In the meantime, you can apply the following workaround:
- Make a full backup of your site before proceeding.
- If you are using ACFML 1.9.3 or older, in your functions.php file add this line:
remove_filter( 'acf/prepare_fields_for_import', [ '\ACFML\Tools\Local', 'syncTranslationPreferences' ] );
- If you are using ACFML 1.9.4 or later, in wp-config.php define constant:
define( 'ACFML_SCAN_LOCAL_FIELDS', false );
Still Seeing This Issue?
If updating doesn’t fix it, ask a support question and we’ll look into it with you.
Ask a support question