Resolved
Reported for: Advanced Custom Fields Multilingual 2.0.1
Resolved in: 2.0.2
Overview of the issue
Since our recent ACFML 2.0 update, the ACF function for taxonomy fields called Load Terms is not working properly. As a result, when you save a post custom field with this function, the term may be set, but the field will remain empty.
Workaround
Be sure to make a full backup of your site before proceeding. Then, to work around this issue, you can apply the following patch to the Advanced Custom Fields Multilingual plugin:
- Open the file /wp-content/plugins/acfml/classes/strategy/repeater-sync/HooksFactory.php in a text editor.
- Look for line 10.
- Replace the following code:
123456
class
HooksFactory
implements
IWPML_Backend_Action_Loader {
/**
* @return IWPML_Action[]
*/
public
function
create() {
With:
12345678910111213class
HooksFactory
implements
IWPML_Backend_Action_Loader, IWPML_Deferred_Action_Loader {
/**
* @return string
*/
public
function
get_load_action() {
return
'wp_loaded'
;
}
/**
* @return IWPML_Action[]
*/
public
function
create() {