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 wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Sun Mon Tue Wed Thu Fri Sat
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+03:00)

Tagged: ,

This topic contains 19 replies, has 3 voices.

Last updated by michaelD-110 1 year, 10 months ago.

Assisted by: Osama Mersal.

Author Posts
June 1, 2023 at 12:34 pm #13753797

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Louis,

Thanks for your reply. I'll update you as soon as I get our dev team's reply.

Best regards,
Osama

June 4, 2023 at 10:19 am #13765633

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Louis,

Our 2nd tier support team has found the cause of the issue. The issue happens because ACF doesn't delete the fields with specific conditions:

  • In the Repeater or Layout field, there is a clone field.
  • The clone field uses "Group (displays selected fields in a group within this field)" display
  • (hidden link)
    In that case, deleting the row from Layout or Repater field leaves the metadata in the postsmeta table, and WPML displays it in ATE.

    ACF stores two values for each row, one with a clone field suffix and another without a suffix.
    After removing the row, the value without a suffix is deleted, but the actual value of the clone field with a suffix is left in DB. (The one in the red box is deleted hidden link)

    As a workaround, please try to replace the display option from "Group (displays selected fields in a group within this field)" with "Seamless (replaces this field with selected fields".

    Best regards,

    June 5, 2023 at 10:57 am #13769669

    michaelD-110

    Hi Osama,

    Thank you for narrowing down this issue.

    Unfortunately I'm unable to switch to a seamless display because it completely messes up the layout in the Editor (see attached screenshot). The websites I've added WPML to are pre-existing so it's too late to make major changes like this to our ACF setup.

    Best regards,
    Louis

    Screenshot 2023-06-05 at 11.47.19.png
    June 5, 2023 at 11:12 am #13769835

    Osama Mersal
    WPML Supporter since 02/2020

    Languages: English (English ) Arabic (العربية )

    Timezone: Africa/Cairo (GMT+03:00)

    Hi Louis,

    I'm afraid this is the available workaround for this issue currently. The issue has been escalated to our Dev team, so they will check it and see if we can fix it on our end or need to cooperate with ACF to fix it.

    However, this process might take some time as our Dev team has a full queue right now.

    Thanks for your understanding

    Best regards,

    June 6, 2023 at 8:14 pm #13781357

    michaelD-110

    Thanks Osama - I hope your Dev team can find the solution 👍