This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue where the calculation in WPForms does not work when both the WPForms Calculation Addon and WPForms Multilingual plugin are enabled.
Solution:
We have released an official workaround for this issue. We recommend following the steps outlined in the workaround to resolve the conflict temporarily. You can find the detailed instructions here: WPForms Calculations Not Working with WPForms Multilingual Enabled.
Please note that a permanent fix will be included in future releases of the WPForms Multilingual plugin.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we 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. If the problem persists, please open a new support ticket with us for further assistance.
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: Compatibility
This topic contains 14 replies, has 2 voices.
Last updated by Christopher Amirian 3 months, 3 weeks ago.
Assisted by: Christopher Amirian.
Author | Posts |
---|---|
August 28, 2024 at 7:50 am | |
marcoS-96 |
Background of the issue: Symptoms: Questions: |
August 28, 2024 at 8:16 am | |
August 28, 2024 at 8:18 am #16113196 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi there, I'd appreciate it if you could get back to us with the replicated issue and steps we need to take to see the problem. I will then report the issue to the compatibility team. Thank you. |
August 28, 2024 at 9:25 am #16113766 | |
marcoS-96 |
Hi Christopher, For checks you can refer to the fields with the yellow background. I replicated the issue and I sent you screencasts with steps I followed (registrered from my staging site). WPForms Calculation Addon and Multilingual disabled WPForms calculation addon and Multilingual enabled Please, try to do that to reply the issue: In this case calculation doesn’t works. I leave site with WPForms Multilingual enabled, but you can check disabling/ enabling. PS.: note that WpForm doesn't need to be translated from italian to english. Many thanks, |
September 1, 2024 at 11:59 am #16128939 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi Marco, Sorry for the late reply. The issue is reported to the compatibility team. I will update you as soon as I have news. Thanks. |
September 3, 2024 at 1:40 pm #16135946 | |
marcoS-96 |
Hi Christopher, Thanks. |
September 6, 2024 at 11:16 am #16148691 | |
marcoS-96 |
Hi Christopher, Also, can I delete the staging site or would that be helpful? Many Thanks, Marco. |
September 7, 2024 at 2:46 pm #16151421 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi Marco, Thank you for your patience, I have a question from the compatibility team:
Could you please give it a look? Also we are working on the "harmonious-clarinete.sandbox.otgs.work" website so I think it is ok to delete the other staging ones. Thanks. |
September 9, 2024 at 12:03 pm #16156043 | |
marcoS-96 |
Hi Christopher, First I've added W3 Total Cache (useful to see page updated). In WPML languages I've changed default languages to Italian (please open as italian language - maybe it depends from that?). In WordPress setting I've updated permalink structure: *** ITALIAN *** In WPForms I've imported "Valutazione Immobile Con Calcoli" ID#107) I created a page: "Test Valutazione Immobile" ID#75 and added WPForm id #107 as: I've also updated WPForm field ID #472 "Andamento di Mercato" formula From To Each time I have to test funcionalities I made and update in WPForm field ID #472 "Andamento di Mercato" formula, validate it and save form. Than I restart SERVER PHP and clear SERVER CACHE. Now in your Sanbox WPForms Multilingual is activated and calculation doesn't works. Many thanks, |
September 9, 2024 at 12:17 pm #16156195 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi Marco, I honestly got very confused with the amount of information you mentioned and the mix between your and the sandbox. Let's only focus on the sandbox as that is our main source of replication. Would you please give me steps to see which Form to check to see if it worked or not when WP Forms Multilingual is enabled or disabled. Thanks |
September 9, 2024 at 2:14 pm #16157051 | |
marcoS-96 |
Hi Christopher, from page: where is inserted: Now in your Sanbox WPForms Multilingual plugin is activated and calculation doesn't works. If you ...calculation works. Many thanks, |
September 10, 2024 at 1:08 pm #16161650 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi, Thanks, I created a video explaining the issue to the compatibility team. I want to double check with you if I understood the problem correctly. I'd appreciate it if you could check the video below and tell me if I am correct? hidden link Thanks. |
September 11, 2024 at 7:15 am #16164549 | |
marcoS-96 |
Hi Christopher, Thanks. |
September 11, 2024 at 9:03 am #16165305 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Thank you. I will get back to you as soon as I have an update from the compatibility team. Thanks. |
September 12, 2024 at 8:09 am #16169427 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi, This issue is identified as a bug and reported to the development team. This means that a fix will be available in upcoming releases of the WP Forms Multilingual plugin. There is a temporary workaround that we did not test that has any side effects or not but it fixes the current issue. You are welcome to implement the workaround on your own discretion: - Open .../wp-content/plugins/wpml-wpforms/classes/Hooks/WpForms/SubLabels.php file. // Hooks::onFilter( 'wpforms_save_form_args', 10, 2 ) // ->then( spreadArgs( [ $this, 'addFieldSubLabels' ] ) ); - resave the form. Thank you. |