- Status
- Resolved
- Reported for
- Advanced Custom Fields Multilingual 1.9.0
- Resolved in
- 1.9.3
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
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 );