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.

Tagged: 

This topic contains 9 replies, has 3 voices.

Last updated by Bruno Kos 1 year, 7 months ago.

Assisted by: Bruno Kos.

Author Posts
April 6, 2023 at 9:34 am #13418277

lorenzP

I am trying to:
We translate a page where the original page has an ACF repeater field with a minimum range of zero and the original page has one entry there. It contains a phone number. When we try to save the translated page we get an error (using the WordPress classic editor):

Minimum rows reached (1 rows)

However, on the page the original value is displayed and we can see the single phone number.

Link to a page where the issue can be seen:
hidden link

I expected to see:
Should pass the validation because the phone number is copied from the original page.

Instead, I got:
Minimum rows reached (1 rows)

April 6, 2023 at 9:37 am #13418333

lorenzP

Here is the JSON code of the repeater field:

            {
                "key": "field_1965161c32ee4",
                "label": "Telefonnummern",
                "name": "phone_numbers",
                "aria-label": "",
                "type": "repeater",
                "instructions": "",
                "required": 0,
                "conditional_logic": 0,
                "wrapper": {
                    "width": "",
                    "class": "",
                    "id": ""
                },
                "collapsed": "",
                "min": 1,
                "max": 0,
                "layout": "table",
                "button_label": "Eintrag hinzufügen",
                "rows_per_page": 20,
                "wpml_cf_preferences": 1,
                "sub_fields": [
                    {
                        "key": "field_a2289d19e93f6",
                        "label": "Telefonnummer",
                        "name": "phone",
                        "aria-label": "",
                        "type": "text",
                        "instructions": "",
                        "required": 1,
                        "conditional_logic": 0,
                        "wrapper": {
                            "width": "",
                            "class": "",
                            "id": ""
                        },
                        "default_value": "",
                        "placeholder": "",
                        "prepend": "",
                        "append": "",
                        "maxlength": "",
                        "wpml_cf_preferences": 1,
                        "parent_repeater": "field_1965161c32ee4"
                    },
                    {
                        "key": "field_62d42cc118888",
                        "label": "Bezeichnung",
                        "name": "type",
                        "aria-label": "",
                        "type": "text",
                        "instructions": "",
                        "required": 0,
                        "conditional_logic": 0,
                        "wrapper": {
                            "width": "",
                            "class": "",
                            "id": ""
                        },
                        "default_value": "",
                        "placeholder": "",
                        "prepend": "",
                        "append": "",
                        "maxlength": "",
                        "wpml_cf_preferences": 1,
                        "parent_repeater": "field_1965161c32ee4"
                    }
                ]
            },
April 6, 2023 at 10:50 am #13418941

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

I created a minimal installation of WordPress, WPML, and all necessary WPML add-ons.

You can access the WordPress dashboard using the link below:
- hidden link

Kindly follow the steps below:
- Set up WPML
- Install ACF
- Try to replicate the issue with simple example
- Share with me step by step guide on how can I check the issue

This will help us to report the probable issue faster to our team.

Let me know how it goes.

Regards,
Drazen

April 12, 2023 at 9:24 am #13453733

lorenzP

It's reproducible using all latest plugin versions:

hidden link

Save this page and it fails with: Mindestzahl der Einträge hat (1 Reihen) erreicht

April 12, 2023 at 10:55 am #13454573

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

Can you check this?
https://wpml.org/forums/topic/acf-repeater-with-minimum-row-requirement-produces-error-when-translating-a-post/#post-13441947

Regards,
Bruno Kos

April 12, 2023 at 1:33 pm #13456409

lorenzP

This seems to be a similar issue. In our case it's a field with phone numbers which are entered in the original language page. All translations copy the original value. Using copy once or translate would both be wrong. This should be fixed in the ACFML plugin, this is normal use case.

April 12, 2023 at 1:36 pm #13456435

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

Ok, can you tell me if the function we provided there worked for you? This case is examined by our developer already.

Regards,
Bruno Kos

April 12, 2023 at 1:46 pm #13456493

lorenzP

Yes, the workaround works fine.

April 12, 2023 at 1:54 pm #13456643

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

Ok, I will keep this thread updated with any information I receive from the development team, nothing else I can do at this point.

Regards,
Bruno Kos

July 3, 2023 at 12:11 pm #13932485

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

This was fixed in ACFML 2.0.5.
https://wpml.org/download/acfml/?section=changelog

Regards,
Bruno Kos