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.

This topic contains 10 replies, has 3 voices.

Last updated by Konrad Karpieszuk 5 months, 2 weeks ago.

Assigned support staff: Konrad Karpieszuk.

Author Posts
March 13, 2019 at 9:09 am #3331045

Wolf-Dieter Grabner

Hello!
I'm using Woondershop for one of my clients. We've recently (after updating to latest WPML and other plugins) experienced an error when saving products. Turning off acf-wpml solves the problem, but of course we'd like to have it properly working with the plugin turned on as well.

Many thanks, Wolf-Dieter

Notice: Undefined index: _woonder_img_variation_attribute in /var/www/vhosts/strahltechnik.at/httpdocs/web/app/themes/woondershop-pt-child/inc/hooks.php on line 1403

Fatal error: Uncaught ArgumentCountError: Too few arguments to function WPML_ACF_Field_Settings::field_value_updated(), 3 passed in /var/www/vhosts/strahltechnik.at/httpdocs/web/wp/wp-includes/class-wp-hook.php on line 286 and exactly 4 expected in /var/www/vhosts/strahltechnik.at/httpdocs/web/app/plugins/acfml/classes/class-wpml-acf-field-settings.php:58 Stack trace: #0 /var/www/vhosts/strahltechnik.at/httpdocs/web/wp/wp-includes/class-wp-hook.php(286): WPML_ACF_Field_Settings->field_value_updated('', 4623, Array) #1 /var/www/vhosts/strahltechnik.at/httpdocs/web/wp/wp-includes/plugin.php(208): WP_Hook->apply_filters('', Array) #2 /var/www/vhosts/strahltechnik.at/httpdocs/web/app/plugins/advanced-custom-fields-pro/includes/api/api-value.php(396): apply_filters('acf/update_valu...', '', 4623, Array) #3 /var/www/vhosts/strahltechnik.at/httpdocs/web/app/plugins/advanced-custom-fields-pro/includes/input.php(332): acf_update_value('', 4623, Array) #4 /var/www/vhosts/strahltechnik.at/httpdocs/web/wp/wp-includes/class-wp-hook.ph in /var/www/vhosts/strahltechnik.at/httpdocs/web/app/plugins/acfml/classes/class-wpml-acf-field-settings.php on line 58

March 13, 2019 at 10:10 am #3331689

Konrad Karpieszuk
Supporter

Languages: English (English )

Timezone: Europe/Rome (GMT+02:00)

Hello

I am sorry for your troubles. Could you:

- share access data to your site (I am marking your next reply as private)
- install Duplicator plugin
- share the steps which I have to take in your dashboard/site to see the issue

March 22, 2019 at 3:43 pm #3442045

corinnaB-4

Has there been an update on this? Experiencing the same with the latest installation of WPML, but for me it's when I'm trying to save pages/posts.

March 25, 2019 at 6:49 am #3449919

Konrad Karpieszuk
Supporter

Languages: English (English )

Timezone: Europe/Rome (GMT+02:00)

Corina, Wolf has never replied to my prompt to share the access so I wasn't able to debug it. Could you do the same what I asked him that is:

- share access data to your site (I am marking your next reply as private)
- install Duplicator plugin
- share the steps which I have to take in your dashboard/site to see the issue

March 26, 2019 at 1:34 pm #3462963

Konrad Karpieszuk
Supporter

Languages: English (English )

Timezone: Europe/Rome (GMT+02:00)

Hello

we finally replicated the issue and we are resolving it. I will update you when it is done

March 26, 2019 at 1:58 pm #3463165

Konrad Karpieszuk
Supporter

Languages: English (English )

Timezone: Europe/Rome (GMT+02:00)

Good news 🙂 We already fixed this in our dev version and it will be released soon

March 28, 2019 at 12:01 pm #3480535

corinnaB-4

What is the ETA on this being released?

March 28, 2019 at 2:11 pm #3482169

Konrad Karpieszuk
Supporter

Languages: English (English )

Timezone: Europe/Rome (GMT+02:00)

Hello

we were going to release this in days but I see we will include some other changes in this release so this will be postponed and tested widely.

But the change to fix this issue is very simple. You can do this on your own.

Please find the file classes/class-wpml-acf-field-settings.php inside of acfml plugin and change:

public function field_value_updated( $value, $post_id, $field, $_value ) {

into:

public function field_value_updated( $value, $post_id, $field, $_value = null ) {
March 29, 2019 at 5:57 am #3488033

Konrad Karpieszuk
Supporter

Languages: English (English )

Timezone: Europe/Rome (GMT+02:00)

sure 🙂

April 17, 2019 at 1:37 pm #3631367

Konrad Karpieszuk
Supporter

Languages: English (English )

Timezone: Europe/Rome (GMT+02:00)

Hello

I am happy to inform we have fixed this in ACFML released last week. Please update your plugins and it should be fine now 🙂

May 8, 2019 at 8:45 am #3764687

Konrad Karpieszuk
Supporter

Languages: English (English )

Timezone: Europe/Rome (GMT+02:00)

Hello

I assume no feedback from you means that this is working correctly now 🙂 I am closing the ticket. If I am wrong, please comment and I will reopen