Background of the issue:
I am trying to use the WPML plugin with WooCommerce Multilingual on my website. I encountered a fatal error while attempting to set string language in the plugin. The error occurred in the file /home/kesezaus/public_html/kesizapravosmukalki.mk/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-strings.php on line 334.
Symptoms:
Fatal error: Uncaught Error: Call to undefined function icl_get_string_id() in /home/kesezaus/public_html/kesizapravosmukalki.mk/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-strings.php:334
Questions:
Why am I encountering a fatal error with the function icl_get_string_id()?
How can I resolve the fatal error in the WooCommerce Multilingual plugin?
The chat was disconnected so I re-enter my last reply here:
Would you please test if the same thing happens on a minimal installation?
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except WPML and its add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.
Thanks.
The topic ‘[Closed] Fatal error’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.