This thread is resolved. Here is a description of the problem and solution.
Problem:
ACF fields that have been deleted are still visible in the backend.
Solution:
This is an ACF issue where deleted fields are not removed from the database, causing WPML to still display them. For a detailed explanation, refer to this post.
If this solution doesn't look relevant to your issue, please open a new support ticket.
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: Documentation request
This topic contains 5 replies, has 2 voices.
Last updated by lisaH-16 1 year, 8 months ago.
Assisted by: Laura.
Author | Posts |
---|---|
November 7, 2023 at 9:12 am #14744959 | |
lisaH-16 |
Hi there, 1) I have some issues using WPML with ACF Pro. First, some fields I have already deleted are still visible in the backend when editing a page (Screenshot 1). 2) Second, some field are locked when editing the page in the secondary language. Our default language is DE and then we have EN, so two languages. How to unlock these fields? We want to have a different URL for the EN page (Screenshot 1). For some reason on an other page for URLs it works. And here the fields are not locked. But I have no clue why. 3) How to hide ACF Fields (root fields/ groups) in the translation editor? In the translation editor only the real content which can be translated should be visible (Screenshot 2). 4) Our whole content generally shows the same media files for DE and EN. But in a few cases we need different files. The media should only be replaced if necessary and the same media should be used by default. If there is a case in which a different file is to be used for EN, then it should be possible to replace it. How to make this happen? I'm looking forward for your message, it's quite urgent, so hopefully you can help here quickly! Best |
November 7, 2023 at 12:29 pm #14746939 | |
Laura WPML Supporter since 05/2018
Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Hi, thanks for contacting us. 1. this is an ACF issue, not a WPML one. Fields are saved into the database and when you delete them in the ACF interface, ACF doesn't delete the fields in the database, it just "hides" them. WPML scans the database, and since fields are still present there, WPML will return them for translation. Please refer to this post for a more detailed explanation https://wpml.org/forums/topic/deleted-acf-fields-not-removed-from-translation-editor/#post-5576393 2. URL fields are by default set to copy, and fields set to copy are not visible in the Translation Editor because you can't edit them. Please refer to https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/recommended-custom-fields-translation-preferences-for-acf-and-wpml/#pre-set-translation-preferences 3. Please check if you have the option "translate media text in the translation editor" checked in WPML > Settings > Media Translation. If so, deactivate it. You'll need to do a change on the original post and send it again for translation before seeing any change. 4. You need to use WPML Media https://wpml.org/documentation/getting-started-guide/media-translation/ |
November 7, 2023 at 1:23 pm #14747507 | |
lisaH-16 |
Hi Laura, Thank you very much for your answer. I will check this later today! We have a big issue right now, after enabling the media translation. We get fatal errors here after enabling this and clicking on "start" for the media translation. Any possibility to revert this or something like that? Here is an example of some errors: #21 {main} Our pages for our default language are still working but for EN version, all pages get a fatal error. We really looking forward for your help!! Thanks New threads created by Laura and linked to this one are listed below: https://wpml.org/forums/topic/uncaught-typeerror-illegal-offset-type-in-isset-or-empty-in-3/ |
November 7, 2023 at 1:27 pm #14747513 | |
lisaH-16 |
Here as you can see the current installed add ons: And the support logs if this helps: [removed] |
November 7, 2023 at 3:30 pm #14749097 | |
Laura WPML Supporter since 05/2018
Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Our policy is "one ticket, one issue", so I split the ticket to take care of the other problem you encountered. If you don't have any more question regarding our initial request, we can close here. |
November 7, 2023 at 3:51 pm #14749583 | |
lisaH-16 |
Yes, we can close the ticket here to focus on the other one. Are you on the ticket? We can't get any further because of the problem |