This thread is resolved. Here is a description of the problem and solution.
Problem: The client experienced a site crash after manually updating the string translation plugin and attempting to reactivate the WooCommerce Multilingual & Multicurrency plugin, which triggered a fatal error due to duplicate plugin instances. Solution: 1. We advised the client to ensure all WPML plugins, including the WPML String Translation and WooCommerce Multilingual, are updated to the latest versions. 2. We identified that the client had two instances of the WooCommerce Multilingual plugin installed. We recommended removing the duplicate plugin folder using the file manager located at
wp-content/plugins
. 3. To safeguard translations, we confirmed that all translations are stored in the database and not in the plugin folders, ensuring that updating or removing plugins would not affect the saved translations. We also suggested creating a full site backup before making any changes for added security.
If this solution does not resolve your issue, or if it seems outdated or irrelevant 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 problems persist, 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.
I manually turned off the WooCommerce Multilingual & Multicurrency plugin and the site started running again. But I need to activate the plugin so please assist with this issue.
Hi, there is something strange here. I can see that there are newer updates of your plugins. However when I check the list of active plugins on the website, the regular bar saying that there are updates available is not showing, so I have to manually update the plugins buy downloading them from your site and then upload to mine. Do you think it is safe to upload the updates? Feels like something is wrong here.
The problem you are experiencing is caused by having an up to date version of sitepress-multilingual-cms while the version of wpml-string-translation is outdated.
Once you upload the updates, the problems should go and you will be able to activate woocommerce-multilingual and update it too.
Hi, I have now updated all WPML plugins. When I try to activate the WooCommerce Multilingual & Multicurrency plugin again, I get this message: Plugin could not be activated because it triggered a fatal error.
Fatal error: Cannot redeclare wcml_loader() (previously declared in /home/nyiyzefu/domains/treband.com/public_html/wp-content/plugins/woocommerce-multilingual/wpml-woocommerce.php:82) in /home/nyiyzefu/domains/treband.com/public_html/wp-content/plugins/woocommerce-multilingual1/wpml-woocommerce.php on line 147
It seems that you have 2 active instances of the WCML plugin on your site (see the paths in the error message):
- woocommerce-multilingual
- woocommerce-multilingual1
I suggest removing both instances, and install a brand new one either from the OTGS installer or from the wpml.org downloads page.