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.

Our next available supporter will start replying to tickets in about 2.94 hours from now. Thank you for your understanding.

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

Supporter timezone: Asia/Jerusalem (GMT+02:00)

This topic contains 7 replies, has 2 voices.

Last updated by Itamar 1 month, 3 weeks ago.

Assisted by: Itamar.

Author Posts
August 29, 2024 at 8:13 pm #16121928

kateH-7

Background of the issue:
I have 2 translated pages open of the same page. Ex. /post.php?post=30369&action=edit&lang=en And /post.php?post=38316&action=edit&lang=us (Both translations of the same page). I have 2 tabs open with each page.

Symptoms:
When I update 1 page and save, then go to the second page and save and then go back to the first page and refresh, the ACF repeater fields on the page are all empty.

Questions:
Why does the ACF repeater content get cleared in the page editor after I edit content in a separate translated page?
How can I prevent the page content from being cleared out when updating a separate translated page?

September 1, 2024 at 7:48 pm #16129508

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

We have a newer version of WPML (4.6.13), Strings Translation (3.2.14), and ACF Multilingual (2.1.4.2). The first step to toggle this problem is to update our plugins to their latest versions and see if the issue persists.

Can you please try it?

Thanks,
Itamar.

September 5, 2024 at 2:36 pm #16145676

kateH-7

Hi,

I have attempted to update these plugins but for some reason it was not updating successfully. In the meantime, is there any other potential solution?

September 5, 2024 at 6:04 pm #16146368

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Why are you not able to update our plugins?
What problem are you facing?
I can try and help with that.

You can always download the latest versions at the following link and install them on your site.

https://wpml.org/account/downloads/

The way to know what went wrong on your site is to understand your ACF settings.
According to your description, you don't seem to follow our instructions on working with WPML and ACF. Please read our ACF guides here.
https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/

Which translation mode are you using for the field group in question?
- Same Fields Across Languages
- Different Fields Across Languages
- Expert

If you are using the Epert mode, follow this guide.

https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/expert-translation-option/

Ensure that the translation preferences of the fields are correct according to this guide.

https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/recommended-custom-fields-translation-preferences-for-acf-and-wpml/

Regards,
Itamar.

September 5, 2024 at 7:17 pm #16146531

kateH-7

I have downloaded the most recent plugins from the downloads page and when our deployment pipeline tries to install the plugin it fails with a critical error.

I understand how ACF works with WPML, but how have I done it wrong based on my description? These repeater fields are all set to translatable and do not have an issue when these pages are saved independently. There is only an issue when multiple pages are opened up at once and saved.

For example, when /post.php?post=38316&action=edit&lang=us is saved, the URL becomes /post.php?post=38316&action=edit. Then when i save /post.php?post=30369&action=edit&lang=en in a separate tab (it is a translation of the other page) it saves fine, but when i go back to the other tab that has /post.php?post=38316&action=edit and refresh the page, THEN the repeater fields seemingly have their values cleared out.

September 8, 2024 at 2:10 pm #16152684

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

There is no point in investigating this issue before all our plugins and the ACF plugin are updated to their latest versions. You might be facing a problem that has already been solved in the newest version of WPML.

Can you please share the fatal error you get while installing our plugins?

Thanks,
Itamar.

September 16, 2024 at 1:43 pm #16184301

kateH-7

I finally was able to update the plugins to the latest version. After doing more testing, the issue is still persisting. I want to emphasize that this is only happening with the repeater fields.

September 16, 2024 at 3:14 pm #16184763

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Thanks for updating our plugins.

Please give me access to your site and tell me which field group the repeater fields in question are in.

If you need further help with this, please share the access details to your site with me. I'm enabling a private message for the following reply.

Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

The topic ‘[Closed] Saving Translated Pages Overwrites Content in other Page’ is closed to new replies.