Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by Andreas W. 10 months ago.

Assisted by: Andreas W..

Author Posts
October 3, 2024 at 3:59 pm #16251190

overhaulM

Background of the issue:
I am experiencing an issue with ACF clone fields not saving content when the 'WPML String Translation' is active on my site hidden link. This is a continuation of a previous ticket. We tried the suggested solutions, but the problem persists. If we create new ACF blocks, they work with the 'Group' option but not with 'Seamless'. Changing this option would require remaking all of our blocks, which would take roughly 40 hours of work. The sandbox has expired, and I'm unsure if renewing it will help.

Symptoms:
ACF clone fields are not saving content when 'WPML String Translation' is active.

Questions:
Is there a way to resolve the issue without changing the 'Group/Seamless' option?
Will renewing the sandbox provide any new insights or solutions?

October 4, 2024 at 2:44 am #16252267

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I have a few questions, to better understand this issue.

Does this issue occur on the original content or on the translated content?

If the issue occurs on the translated content, how are you translating the content?

You can use the WPML Translation Editor or the WordPress Editor. Depending on the translation method the proper translation preference setting needs to be used on the ACF Field Groups.

Further, the post type ACF Field Group needs to be set to "Not translatable" inside WPML > Settings > Post Type Translation.

Relative guide:
https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/

Please let me know if you need further assistance.

Best regards
Andreas

October 4, 2024 at 8:34 pm #16255851

overhaulM

Hello,

The issue occurs on the original content. When I make updates to a post, the cloned field values do not save correctly—they appear empty after updating.

Here are the details:
1. The ACF Field Groups are set to "Not translatable" as recommended.
2. If I disable the WPML String Translation plugin, everything saves and displays correctly.

These ACF fields were created in an older ACF version with the "Seamless" display option and "Tab" fields selected. Changing the display option from "Seamless" to "Group" breaks the tab structure, which is why I can't switch to "Group" without affecting the field layout.

Is there any way to resolve this issue with empty fields that doesn’t involve changing to the "Group" option? I’d like to preserve the current field structure if possible.

Thank you for your assistance.

October 5, 2024 at 2:52 am #16255994

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Could you please import your field group on the following test site, so that we can try to recreate the issue?

One-Click-Login:
hidden link

Please leave me a comment on this ticket once you are done with this task.

Best regards
Andreas

October 7, 2024 at 5:05 pm #16263065

overhaulM

Hi, the field group has been imported to the test site. Thanks

October 7, 2024 at 6:01 pm #16263225

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

It looks as if this issue is not direclty caused by ACF or WPML.

Could you please let me know if you are able to replicate the issue on our test site?

If the issue does not occur on the test site, then I would need admin access to your site, or even better a staging site. If you can not provide access to a staging site I can offer to take a copy of the site for testing.

Please provide me access (wp-admin and FTP) to the site.

I have enabled a private reply for providing the access credencial privately.

The private reply form looks like this:
hidden link

Click "I still need help" on your next reply.

Video:
hidden link

IMPORTANT:
Please take a complete backup of your site and database before providing access.

October 8, 2024 at 12:41 am #16263677

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Once connecting to your site, I do not see any default WordPress Posts, but I see six Custom Post Types. I also see 37 active field groups.

Please provide me with more details on which custom post and using which field group this issue occurs.

Further, 13 plugins, including WPML and our addon have not been updated on your website for quiet a long time.

Please always update the plugins and the theme (If applicable) before reporting an issue.

I suggest you take a complete backup of your site, then run the updates and test again. If the issue will persist, then please provide me an exact example.

The topic ‘[Closed] ACF clone field not saving content when ‘WPML String Translation’ is active.’ is closed to new replies.