After updating WPML, our website (myteddy.sk/hu) started showing a critical error.
When the sitepress-multilingual-cms plugin is activated, the website immediately displays:
"A critical error has occurred on this website."
If we deactivate the plugin via FTP (by renaming the plugin folder), the website loads normally again.
Additionally, when WPML is deactivated, the homepage content becomes partially German instead of Hungarian. It seems the default language or fallback language is not loading correctly without WPML.
The issue started immediately after updating WPML.
Please advise how we can safely reactivate WPML and restore proper multilingual functionality without causing a critical error.
To better understand your situation, could you please enable debugging, replicate the issue, and share the full error message from your debug.log file?
Here are the steps:
1. Enable WordPress debugging by editing your wp-config.php file. Add (or modify, if these lines already exist) the following lines before the comment /* That's all, stop editing! Happy publishing. */:
2. Replicate the error.
3. Check the debug.log file (located in the /wp-content/debug.log) for any WPML-related errors.
4. Copy and paste the full error message here.
When activating WooCommerce Multilingual CMS, we receive the following fatal error:
Uncaught Error: Call to undefined function icl_get_string_id()
in /home/www/clients/client5355/web12788/web/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-gateways.php on line 294
It seems that you may be using an outdated version of the WooCommerce Multilingual & Multicurrency plugin, which could be causing the issue.
Please try the following steps:
1. Deactivate all WPML plugins, including WooCommerce Multilingual & Multicurrency.
2. Delete the plugins completely from your site.
3. Download fresh copies from your WPML account:
My Account → Downloads https://wpml.org/account/downloads/
4. Install and activate the newly downloaded versions.
This ensures you are running the latest stable versions without any corrupted or incomplete files.
Before proceeding, please make a full backup of your site (files and database), just to be safe.