[Resolved] Changes to ACF Field Groups not changed when WPML is active
This thread is resolved. Here is a description of the problem and solution.
Problem: If you're experiencing issues with ajax errors when adding choices to a custom field created with ACF, and you're using WP All Import and WP All Import - ACF Add-On, the problem might be due to compatibility issues among these plugins. Solution: We recommend updating both the WP All Import PRO plugin and the WP All Import - ACF Add-on to their latest versions. This update has resolved similar issues for other clients and might fix the ajax error you are encountering.
If updating does not resolve the issue, please contact our support team for further assistance. We also 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.
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 add choices to a custom field created with ACF. However, when "Advanced Custom Fields Multilingual" is active, the changes to ACF Field Groups are not saved.
Symptoms:
The choices I add are not being persisted unless I deactivate the "Advanced Custom Fields Multilingual" plug-in.
Questions:
Why are the changes to ACF Field Groups not being saved when Advanced Custom Fields Multilingual is active?
How can I ensure that the choices I add to a custom field are persisted with Advanced Custom Fields Multilingual active?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
When using ACFML the Field Groups should be set to "Not translatable" inside WPML > Settings > Post Type Translation.
There should not exist any duplicated field groups.
ACFML mainly serves for translating fields with the WPML Translation Editor which will allow you to translate the Choices when translating them for the first time.
After that you will be able to translate the choices with WPML > String Translation.
Field Groups are set to "Not translatable". Above the fields in the Group itself, the selected option is "Same fields across languages".
There are no duplicated field groups.
Also, my concern wasn't about translating choices. The problem is that with the ACFML plug-in enabled, any changes to the choices are not persisted to the database.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.
You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.
IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.
The private response form looks like this: hidden link
Next time you reply, click "I still need assistance."
Video: hidden link
Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
At the moment I can not view the field group "Détails Formations" as a user is editing it.
Please make sure to set the translation preference for each field group, as seen on the screenshot. If you have any question about the options, please let me know.
Do I understand right that issue occurs when trying to edit a ACF Field Group?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
I am sadly not catching any JS or PHP error, but I can confirm that this seems to be an issue between ACF PRO, WPML, WP All Import and WP All Import - ACF Add-On.
Disabling WP All Import - ACF Add-On likely solves the issue.
Could you please update WP All Import and the WP All Import - ACF Add-on to the latest available versions and verify if this solves the issue?
I can confirm that the issue is gone with the latest version of WPAI Pro and the ACF add-on from WPAI.
I was not aware there were updates available, not sure why they aren't/weren't shown.