This thread is resolved. Here is a description of the problem and solution.
Problem: The client was unable to map a language using the WPML plugin and encountered an error message when attempting to do so.
Solution: 1. Navigate to WPML → Languages and check if the desired language is listed. If not, add it by clicking Add / Remove languages. 2. If the language is listed but mapping causes an error, it might be due to missing or corrupted language data. Access WPML → Support and click on the Troubleshooting link. Use tools like Set language information and Fix element_type collation to fix language assignment issues. 3. Assign the correct language to content created while WPML was inactive using Set language information. 4. Check for JavaScript errors in your browser’s developer console on the WPML language setup page to identify any conflicts caused by themes or other plugins. 5. If the error persists, further assistance from our support team may be necessary. Please open a new support ticket for more specialized help. We also 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 this solution does not resolve your issue or seems irrelevant, please contact us for further assistance by opening 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,
My name is Carlos, and I will continue working on this ticket
Please go to WPML -> Settings -> In the first section, make sure at least one of the translation engines is activated.
Then go to WPML -> Languages -> Edit languages -> Map the languages in the last column on the right -> Save the changes and double-check if the error disappeared.
We have Microsoft selected as the translation engine. I am still getting an error message when I try to map the languages on the edit languages screen.
Please share the access credentials to the site in your next message, which I have set private, so I can reproduce the issue and double-check the configuration.
Confirm you have created a full site backup that you can restore if necessary.
I'm going to need to check on an admin login for you but in the meantime I saw in the Advanced Translation Editor error logs this message being sent out repeatedly.
ATE Server Communication WPML has detected a change in your site's URL.
We already had a message about migrating the url so I wonder if this is related.
Yes, that message is related to the site migration. If you haven't, please finish the migration via the migration banner. The migration banner looks something like this: hidden link
If you have already followed the steps on the migration banner, then remove the WPML registration from the site and register it again with a new registration key. Don't forget to create a full site backup before doing this.
I have set your next message private so you can securely share the access credentials to the site.
In the WMPL account I deleted the url, readded it and got a new key. In the WP admin I unregistered the site and then registered it with this new key. Unfortunately in the edit languages screen when I try to map the languages it still throws an error.
What are the next steps to try to get this resolved?
Thank you very much for registering the site again.
I have consulted this issue with my colleagues, and I have decided to escalate this ticket to our 2nd tier of support, where our specialists will take a deeper look at this issue.
I will get back to you as soon as I get more information.
Our 2nd-tier specialists are already working on this issue. Do you authorize me to create a copy of the site to send it to our 2nd-tier so they can check if the database is corrupted?