This thread is resolved. Here is a description of the problem and solution.
Problem:
You are experiencing a critical error on your site because the WPML site key isn't working anymore.
Solution:
We recommend you follow these steps after ensuring you have a full site backup:
1. Visit your account page at https://wpml.org/account/sites/ 2. Delete the existing key for your site. 3. Navigate to Plugins>>Add New>>Commercial tab. 4. Click on "Unregister WPML from this site". 5. Refresh the page. 6. Click on "Get a key for this site". 7. Copy the newly generated code. 8. Return to Plugins>>Add New>>Commercial tab. 9. Register the site with the new key.
For more detailed instructions, please refer to our documentation:
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable 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 further assistance is needed, 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.
Hello,
Unfortunately, we have a critical error on our site.
As it seems the site key of wpml isn't working anymore. Please see attached.
We would be very grateful if you could help us in this regards.
Kindest,
Paul
Welcome to the WPML support forum. I will do my best to help you to resolve the issue.
Please try the following steps to register the site with a new key after a full site backup{mandatory} and make sure you are getting the expected result or not.
- Go to your account page (https://wpml.org/account/sites/)
- Delete the key for the site
- Go to Plugins>>Add New>>Commercial tab
- Click on "Unregister WPML from this site"
- Refresh the page
- Click on "Get a key for this site"
- Copy the newly generated code
- Visit back to Plugins>>Add New>>Commercial tab
- Register the site with the new key
Please refer to the following documentation for more details.
Hello,
Now the case has changed.
We could activate the key, but somehow the critical error is still on the site.
We did some tests and found out that once we deactivate the wpml string translation plugin, the website is working.
Hence, we assume it is linked with that plugin.
How can we solve that issue?
Kindest,
Paul
Thank you for the updates. Please share with us the WordPress debug.log(not WPML debug information) for collecting more details on this. Refer to these pages for instructions
To enable the WordPress Debug log, open your wp-config.php file of site root and look for define('WP_DEBUG', false);. Change it to:
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
In this case, the errors will be saved to a debug.log log file inside the */wp-content/* directory. Please do the steps to reproduce the bug and check if you are getting any errors or warnings related to WPML in the log file.
If you can paste your debug.log to http://pastebin.com/index.php and provide me that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion).
Hello
Thank you for your answer.
Our debug.log can be found here: https://pastebin.com/mXMXVZRX
Thank you for helping us to solve that issue.
Kindest,
Paul
New threads created by Bigul and linked to this one are listed below:
Thank you for the updates. Please note, I have opened a new ticket for the PHP Fatal error issue. Because as per our support policies, we can only handle one issue per ticket. It will help us to serve you better and we can avoid discussing multiple problems in one ticket. I will get back to you soon on the latest ticket. Please wait. Thank you for your understanding.
--
Thanks!
Bigul
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.