[Resolved] critical error after string translation plugin activation
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing a fatal error when trying to install WPML String Translation on their WordPress site. The error message indicated an undefined method call to
WP_Textdomain_Registry::reset()
.
Solution: We recommended that the client should upgrade the WPML String Translation plugin to version 3.2.3 or greater, as this version is required for WordPress version 6.1 or higher. Before upgrading, it is crucial to perform a full site backup. After the backup, the client should update the plugin and check if the issue persists. For more details on the upgrade process and the importance of compatibility with WordPress 6.1, the client can refer to our documentation:
Before this ticket gets assigned to my colleagues, I will try to help.
1. Can you please let me know which String Translation version you are trying to install (the latest one is 3.2.9)?
2. This issue looks to me like it could also caused by server-related reasons or a compatibility issue between WPML and (at least) one of the active plugins or the active theme.
Can you please let me know if this issue happens even when only the WPML plugins are active and you are using a default WordPress theme?
Please try the following steps so that we can test for a compatibility-related issue:
- create a full website backup
- disable all plugins except WPML and its add-ons
- check if the issue is happening again
- if it's not, reactivate your plugins one by one, checking every time if the issue shows up again so that you can understand which plugin is causing that issue
If the issue happens even with the non-WPML plugins disabled:
- leave all the non-WPML plugins deactivated
- switch to a default theme like TwentySeventeen
- try to recreate the issue now
If you have the chance, it would be best to do this in a staging (testing) environment.
Please let me know how that goes and if following any of these steps solved your issue or brought any change.
String Translation 3.2.3 version or greater is mandatory when we are using WordPress version 6.1 or greater. So please upgrade the WPML String Translation plugin to version 3.2.9 after a full site backup{mandatory} and make sure the bug exists or not.
Please refer to the following article for more details and let us know your feedback.
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.