Overview of the Issue
The Advanced Custom Fields Multilingual 2.0 release may cause a considerable performance impact on your website, in both the front-end and backend.
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.
Please, make sure to have a full backup of your site before proceeding.
- Open …/wp-content/plugins/acfml/classes/Strings/STPluginHooks.php file.
- Look for line 36.
- Change:
To:
if ( $this->needsRegistration() ) { Hooks::onAction( 'wp_loaded' ) ->then( [ $this, 'maybeRegisterFieldGroupsStrings' ] ); } else { $this->setPluginStatus( self::PLUGIN_STATUS_DEACTIVATED ); }if ( ! defined( 'WPML_ST_VERSION' ) ) { $this->setPluginStatus( self::PLUGIN_STATUS_DEACTIVATED ); } if ( $this->needsRegistration() ) { Hooks::onAction( 'wp_loaded' ) ->then( [ $this, 'maybeRegisterFieldGroupsStrings' ] ); }
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