Home›Support›English Support›[Resolved] repeater field from ACF doesn't diplay in front end (but the defalut language are)
[Resolved] repeater field from ACF doesn't diplay in front end (but the defalut language are)
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to display a repeater field from ACF on the front end of your site, and it is visible in the default language (French) but not in the other two languages. You suspect this might be a WPML issue. Solution: We recommend that you edit your repeater field and subfields to remove any '+' signs from the field names. After making this change, please update the post translation in the default language along with its translations. According to the ACF documentation, field names should only include letters, numbers, hyphens, and underscores.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Additionally, if you need further assistance, please open a new support ticket at WPML support forum.
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.
Background of the issue:
I am trying to display a repeater field from ACF on the front end of my site hidden link. The repeater field is visible in the default language (French), but not in the other two languages. I suspect this is a WPML issue. I have followed the ACF documentation for the repeater field, and it works in the default language.
Symptoms:
The repeater field is not visible on the front end in the two non-default languages, but it is visible in the default language.
Questions:
Why is the repeater field not displaying in the non-default languages?
What steps can I take to resolve the issue with the repeater field in WPML?
Thanks for contacting WPML forums support. I'll be glad to help you today.
I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please backup your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
Thanks for the access details. Please check the following steps:
1- Go to your database manager, for example, PhpMyAdmin
2- Go to the "wp_options" table
3- Search for the "icl_sitepress_settings" key
4- Delete this key
5- Go to your site's dashboard
6- Configure WPML
7- Edit all the custom field groups
8- Save all the field groups
9- Edit the post in the default language
10- Make a minor edit and update it
11- Update the translation using the translation editor
❌ Please backup your database before the above steps ❌
After that, please check the post in English to see if the fields are translated correctly.
Hi Osama, i've did it in my test site, nothing changed.
If I remove the key on my production site can you try yourself ? maybe i did something wrong.
I give you the permission to try.
Do i need to remove the whole line inn my DB (screenshot) or juste "delete" > "icl_sitepress_settings" in option_name ?
Would you please update the WPML and ACF plugins to the latest version on the test site?
If that doesn't help, I'll install the duplicator plugin to create a local copy of your site, debug the issue further, and consult our second-tier support team if needed.
Please edit your repeater field and subfields to remove the + sign from the field name.
After that, please update the post translation in the default language along with its translation.
Note: The ACF description says you can use letters, numbers, hyphens, and underscores; it doesn't include anything else, even if it doesn't prevent you from using other characters.
OK i'll do that, but i need time because changing the name of the field alter all exisiting fields, i need to rename them with my phpmyadmin.
Is it ok if you get my answer tomorow ?
please don't close the ticket