Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client reported a fatal error caused by the WooCommerce Multilingual & Multicurrency plugin when trying to add a product to the cart on their WooCommerce site. The error message indicated an issue with calling a function on a null value within the WooCommerce Subscriptions plugin.

Solution:
1. We attempted to replicate the issue but were unable to do so. We requested a screen recording to better understand the problem and asked for FTP access for further troubleshooting.
2. We identified that the issue might be related to a known problem with WooCommerce payment details being displayed twice. We provided a workaround that can be found in our errata page: https://wpml.org/errata/woocommerce-payment-details-are-displayed-twice-on-the-order-confirmation-page-e-mail/.
3. We informed the client that the patch they applied will be included in the next official update of the WooCommerce Multilingual & Multicurrency plugin, ensuring that the patch will not be overwritten by future updates.

If this solution doesn't look relevant to your issue, please don't hesitate to open a new support ticket with us here: WPML support forum.

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 23 replies, has 2 voices.

Last updated by Kor 1 year, 3 months ago.

Assisted by: Kor.

Author Posts
December 27, 2023 at 4:19 pm #15132832

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your prompt response.

After thoroughly reviewing your feedback, I'm still unable to replicate the issue on our sandbox site, which you can access at this link: hidden link . I've attempted to add a subscription to the cart, and it appears to be functioning correctly here: hidden link.

It appears that the issue is specific to your website. I will ask our 2nd Tier Support team once again to conduct a more thorough investigation into this matter.

December 27, 2023 at 7:30 pm #15133296

manfredR-5

Hi Kor,

thank you for your update and escalating the issue to the 2nd tier.

Kind Regards,
Manfred

January 2, 2024 at 8:27 am #15142225

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

Our second tier support checked and the issue could be related to this https://wpml.org/errata/woocommerce-payment-details-are-displayed-twice-on-the-order-confirmation-page-e-mail/ . Kindly try the workaround provided and let us know if this fixes the issue you had there.

January 2, 2024 at 6:06 pm #15144431

manfredR-5

Hi Kor,

at first, a Happy New Year!

thank you for the further investigations. Unfortunately I'm not a programmer and it would be difficult for me to make code changes in the …/woocommerce-multilingual/classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php file.

Can we ask the owner of the WooCommerce Multilingual & Multicurrency plugin to create a patch. I'm pretty sure that other customers will be affected as well.

Thank you,
Manfred

January 3, 2024 at 2:10 pm #15147147

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

Here is the link hidden link . Kindly remove the "WooCommerce Multilingual & Multicurrency " plugin and reupload this one. Let me know how it goes.

January 3, 2024 at 10:50 pm #15148947

manfredR-5

Dear Kor,

thank you for the patch. I installed it and first tests have shown the issue should be fixed. However additional tests on the production system will be needed.

When will the patch be incorporated in the official release path. We need to avoid that the patch will be overwritten with upcoming release updates of the "WooCommerce Multilingual & Multicurrency" plugin.

Thanks a lot of your help,
Manfred

January 4, 2024 at 5:30 am #15149149

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

The patch will be included in the next "WooCommerce Multilingual & Multicurrency" plugin update. So, no worries for now.

January 4, 2024 at 2:23 pm #15151130

manfredR-5

Kor, Thank you for letting me know when the fix will be productized.

Thank you for all your help,
Manfred

January 4, 2024 at 2:50 pm #15151903

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

You're welcome and have a great day!