Skip Navigation

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

Problem:
After updating the WPML Multilingual CMS plugin, the client encountered a fatal error that prevented access to the WordPress backend. The error message indicated an issue with an undefined function

icl_get_string_id()

in the WooCommerce Multilingual plugin.
Solution:
We recommend ensuring that the latest version of the WooCommerce Multilingual & Multicurrency plugin is installed. You can verify and download the latest version from your account under My Account -> Downloads. Before updating, please make sure to back up your database to prevent any potential data loss.

If this solution does not resolve your issue or seems outdated, 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.

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 1 month ago.

Assisted by: Andrey.

Author Posts
April 10, 2025 at 8:38 am #16917238

melanieP-10

Background of the issue:
I updated the WPML Multilingual CMS plugin yesterday, and it crashes the WordPress backend that I now can't access. The issue can be seen at hidden link.

Symptoms:
I get this message: Fatal error: Uncaught Error: Call to undefined function icl_get_string_id() in /var/www/ramn.dk/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-strings.php:313 Stack trace: #0 /var/www/ramn.dk/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-strings.php(166): WCML_WC_Strings->get_string_language('taxonomy singul...', 'WordPress') #1 [internal function]: WCML_WC_Strings->translated_attribute_label('BelxC3xB8b', 'pa_beloeb', '') #2 /var/www/ramn.dk/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php(358): call_user_func_array(Array, Array) #3 /var/www/ramn.dk/public_html/wp-includes/class-wp-hook.php(324): WPMLFPFns::WPMLFP{closure}('BelxC3xB8b', 'pa_beloeb', '') #4 /var/www/ramn.dk/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('BelxC3xB8b', Array) #5 /var/www/ramn.dk/public_html/wp-content/plugins/woocommerce/includes/wc-attribute-functions.php(213): apply_filters('woocommerce_att...', 'BelxC3xB8b', 'pa_beloeb in /var/www/ramn.dk/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-strings.php on line 313

Questions:
How can I resolve the fatal error caused by the WPML Multilingual CMS update?
What steps should I take to regain access to my WordPress backend?

April 10, 2025 at 1:23 pm #16918832

Andrey
WPML Supporter since 06/2013

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

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

I’m sorry that you ran into trouble with this.

We just released the new WooCommerce Multilingual & Multicurrency plugin. Please ensure the latest version WooCommerce Multilingual & Multicurrency is installed.

You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/

Please remember to back up your database first before you proceed.