This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where the WPML setup on their site gets stuck at the 4th step. The admin-ajax.php response shows a success message followed by a failure message indicating that 'ATE is not enabled for this client.' The client is unsure why the setup is stuck and how to enable ATE. Solution: If you're encountering a similar issue where the WPML setup is stuck, and you receive an error stating that ATE is not enabled, we recommend checking if ATE (Advanced Translation Editor) is properly activated for your site. This can typically be done through your WPML account settings. Ensure that your site is registered and that the key used in the WPML plugin is correct. If the problem persists, it might be necessary to open a new support ticket for a more detailed investigation.
Please note that this solution might be outdated or not applicable to your specific 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 these steps do not resolve your issue, please do not hesitate to open a new support ticket at WPML support forum for further assistance.
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.
Background of the issue:
I am trying to set up WPML on my site hidden link. I registered the site on my account and used the key on the WPML plugin.
Symptoms:
When I reach the 4th step of the setup, it keeps loading forever. The admin-ajax.php response is {"success":true,"data":{}} and then a second one {"success":false,"data":"ATE is not enabled for this client."}.
Questions:
Why is the setup stuck on the 4th step?
How can I enable ATE for my client?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Hi,
We identified the issue through a 401 error in the browser console in another case.
It was caused by a misconfiguration that prevented the GET parameters from being sent to the server when a WordPress API call was made. We’ve released WPML 4.8.3 today, which includes a fix for this issue.
Unfortunately i still get the same response. I am currently using a staging enviroment to find the problem and i have also deactivated all other plugins to rule out incompatibility. The only error i get on the console, that is shared with the production enviroment is this:
Error in AITranslation component: Error: Failed to get parameters to initialize ATE dashboard: Empty or invalid response
at app.js?ver=483900:1:7268
at u (app.js?ver=483900:662:5830)
at Generator._invoke (app.js?ver=483900:662:5583)
at Generator.next (app.js?ver=483900:662:6189)
at n (app.js?ver=483900:15:13709)
at s (app.js?ver=483900:15:13920)
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Hi,
I would eventually also need to request temporary access (WP-Admin and FTP) to your site
– preferably to a test site where the problem has been replicated if possible –
in order to be of better help and check if some configurations might need to be changed
Your next answer will be private which means only you and I have access to it.
❌ Please backup your database and website ❌
✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.
✙ Please add the Links to the […] Edit Screen, the Page/Post where you insert the […] and the corresponding Front End Page/Screen
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Thank you!
It seems the issue is related to another known problem that our developers are already aware of. However, it cannot be reproduced in the staging environment. Would it be possible to grant us access to the production environment as well?
We also have two follow-up questions:
1) Has the site been migrated to a new domain? If so, did you see the migration process banner and enable it?
2) Is the otgs_wpml_tm_ate_cloned_site_lock option present in your _options table? If yes, could you please share its current value?
Yes i can grant you access to the production environment through a private message, although since the website is active, disabling plugins or templates would disrupt its functionality. As for you questions:
1) As i know the site has been migrated in the past, but i was not present and have no information about it.
2) There is no otgs_wpml_tm_ate_cloned_site_lock option in wp_options table both in staging and production.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Thank You!
I would eventually also need to request temporary access (WP-Admin and FTP) to your site. Your next answer will be private which means only you and I have access to it.
❌ Please backup your database and website ❌
✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.
✙ Please add the Links to the […] Edit Screen, the Page/Post where you insert the […] and the corresponding Front End Page/Screen
I have the same problem and I am stuck at step 4. I have tried all the solutions already suggested: deactivating plugins, switching theme...
app.js?ver=483900:1 Error in AITranslation component: Error: ATE dashboard bootstrap function is not available on window.ateDashboard
at app.js?ver=483900:1:7996
at new Promise (<anonymous>)
at app.js?ver=483900:1:7385
at u (app.js?ver=483900:662:5830)
at Generator._invoke (app.js?ver=483900:662:5583)
at Generator.next (app.js?ver=483900:662:6189)
at n (app.js?ver=483900:15:13709)
at s (app.js?ver=483900:15:13920)
I went to wpml troubleshooting and pressed on set language information andeverything is fixed. I guess Nothing was assigned to a language so it wouldn't display because of wpml.