Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Shekhar Bhandari 1 year, 1 month ago.

Assisted by: Shekhar Bhandari.

Author Posts
March 17, 2023 at 8:26 am #13267051

jeroenP-6

ACF fields aren't automatically getting the expert modes.

March 17, 2023 at 12:45 pm #13269325

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Our 2nd tier checked the issue and suggested the following workaround:

Go to wp-content/plugins/advanced-custom-fields-pro/acf.php

Then change

add_action( 'init', array( $this, 'register_post_status' ), 5 );

to

add_action( 'init', array( $this, 'register_post_status' ), -10000 );

and then go to options table and removed the option key "WPML(acfml)"

This should fix the issue for now.

Let me know if this helps.

Thanks

March 20, 2023 at 9:24 am #13281989

jeroenP-6

Hi Shekhar,

Thanks for your answer. I have tested the proposed solution and I have seen it updates all ACF field groups to "Expert" mode and sets the status to "Saved".
An update to the ACF plugin would revert the manual fix in the ACF plugin though. Do you see this as a one time manual fix to migrate existing ACF field groups when updating to ACFML 2.0?
Also, are you working on a fix that does not need this manual fix, or is this the proposed solution to migrate all websites that run ACFML?

Regards

March 20, 2023 at 10:11 am #13282489

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

We are working at the moment on the proper fix, I will update you here as soon as I will have further feedback.

Thanks

March 22, 2023 at 12:48 pm #13304957

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Just to let you know that a fixed version is released so can you please update the plugins to the latest version and let me know if that helps?

We push out WPML releases gradually. If your sites haven’t received this update yet, give it some time and you’ll see the update in a few days.

To skip the queue and get the update right away, to the Plugins → Add New page, click the Commercial tab and then click the Check for updates button.
https://wpml.org/wp-content/uploads/2020/04/wpml-force-plugin-update-1.png

Note: Keep a Backup Before Updating

Look forward to your reply.

Thanks

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.