Skip Navigation

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

Problem:
The client is unable to update WPML to version 4.7.1 even though it is registered, and this issue is causing a fatal error on the cart page after updating other plugins.
Solution:
If you're experiencing this issue, we recommend you follow these steps:
1. Take a complete backup of your site.
2. Deactivate all WPML plugins, including the WooCommerce Multilingual plugin.
3. Download the latest copies of WPML and WooCommerce Multilingual from https://wpml.org/account/downloads/.
4. Delete the WPML plugins (your settings and translations are saved in the database and will not be deleted.)
5. Upload the freshly downloaded WPML plugins by going to Plugins -> Add New -> Upload Plugin.
6. Activate the plugins.

This solution might be irrelevant if it's outdated or not applicable 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 at 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 1 reply, has 0 voices.

Last updated by Andrey 3 months, 1 week ago.

Assisted by: Andrey.

Author Posts
February 28, 2025 at 11:48 am #16760466

alexandreB-46

Background of the issue:
I am trying to update to the latest version of all WP components installed. The issue can be seen on this page: hidden link. After updating the plugins, I received a message indicating that the WPML update is incomplete. The message states that I am running updated versions of woocommerce-multilingual and wpml-string-translation, but sitepress-multilingual-cms is not updated to the required version 4.7.0. My WPML is registered, but I can't update WPML to 4.7.1, even manually, and it triggers a fatal error in the cart page: Uncaught Error: Call to undefined function WCMLTaxStringsicl_get_string_id() in /var/www/*******/wp-content/plugins/woocommerce-multilingual/classes/Tax/Strings/Hooks.php on line 26.

Symptoms:
After updating the plugins, I received a message indicating that the WPML update is incomplete. My WPML is registered, but I can't update WPML to 4.7.1, even manually, and it triggers a fatal error in the cart page: Uncaught Error: Call to undefined function WCMLTaxStringsicl_get_string_id() in /var/www/*******/wp-content/plugins/woocommerce-multilingual/classes/Tax/Strings/Hooks.php on line 26.

Questions:
Why can't I update WPML to version 4.7.1?
How can I resolve the fatal error in the cart page?

February 28, 2025 at 8:51 pm #16762760

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for reaching out to WPML support.

Please follow these steps:

1. Take a complete backup of your site.

2. Deactivate all WPML plugins, including the WooCommerce Multilingual plugin.

3. Download the latest copies of WPML and WooCommerce Multilingual from https://wpml.org/account/downloads/.

4. Delete the WPML plugins (your settings and translations are saved in the database and will not be deleted.)

5. Upload the freshly downloaded WPML plugins by going to Plugins -> Add New -> Upload Plugin.

6. Activate plugins.

I hope this helps.