Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.
Please ensure that you are following our instructions at the following link on how to work with WPML and the ACF plugin.
It is important to know that we have a bridge plugin called ACF Multilingual that you must install when working with the ACF plugin. I can see that it is not active on your site.
thanks for getting back, glad to hear you managed to find a workaround.
I am not sure I understand completely your issue here, but please note as per our policy we do not support custom coding solutions.
We will be glad to help and suggest an approach just we would need a bit more info about the plugin, code, and usage. Or if you think there is a WPML bug, together we will need to reproduce the issue on a clean test site and check on this with our developers.
Please let me know if you still need our assistance in this case or if you still have any questions.
I mean literally copy this in the database (postmeta) directly in the value field.
Set this custom field to copy in wpml settings.
Create a translation of this post.
Edit the custom field in the main language.
Check translation custom field and you will see it is not updated.
A new custom field is created for the translation, instead of the first being updated from the main language.
You can debug function sync_custom_field() in class-wpml-sync-custom-fields.php,
delete_post_meta(), and will see that it is not deleted, because of delete_metadata()...
I hope I explained the steps well enough. Let me know if you need any other info.
just to update you, the issue was confirmed by our developers and we will be working on a permanent fix and including it in one of the next versions of WPML.
As a workaround we suggest next:
- Complete backup of site files and DB.
- Edit \sitepress-multilingual-cms\classes\custom-field-translation\class-wpml-sync-custom-fields.php line number 63 and replace