This thread is resolved. Here is a description of the problem and solution.
Problem: Client was trying to activate a translation service on the WPML interface, but the page only refreshes without asking for the token and never adds the service.
Solution:
The issue was caused by the cache, clearing and disabling fixed the problem.
If this solution does not apply to your case, or if it seems outdated, 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 you still need assistance, 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 am trying to figure out the issue which is not just happening with the said service but is happening with all of the translation services.
However, I am unable to enable debug logs because in your setup the wp-config.php file is one level up than the WP root directory. This isn't accessible to me thus I am not able to find any underlying issues.
Can you either give me access to the wp-config.php (i.e. FTP) or enable debugging? See https://wpml.org/documentation/support/debugging-wpml/ for details. In any case, I'll also need access to the debug.log file which is usually created in wp-content folder of WP installation (after enabling the debugging and when there's an error is thrown).
I've set your next reply as private to share this information safely, in case you want to update the access info.
IMPORTANT: If you don't see the section for providing access information, do not write in the message box or the information may appear as public.
Hi Waqas!
The debugging has been enabled by the client.
They were able to add a token to connect our services to their website but it only shows on the "Translation management" section, not when we try to send the elements to the hub via the translation basket.
Do you see any errors in the debug.log or other error logs (i.e. PHP and/or server error logs)? Please also check WPML -> Support -> Advanced Translation Editor Logs and if possible provide me the log files or top few errors, right after retrying.
Still nothing on my end, the error is still the same.
We were able to add a translation service but could not authenticate and now that we cant to delete it, it's stuck.
What is weird is that on the Canada website, there is no such issue, only on the Europe website.
Now, the REST API has been deactivated which was not the case last time we tried.
Any other idea?
Top few errors in the Advanced Translation Editor log:
- ATE Server Communication - WPML has detected a change in your site's URL. To continue translating your site - {"url":"https:\/\/ate.wpml.org\/api\/wpml\/languages\/check_pairs","requestArgs":{"method":"POST","body":[{"source_language":"fr","target_languages":["nl","en","de","it","pt-pt","es"]}]},"status":426}
- ATE Server Communication - Bad Gateway - {"url":"https:\/\/ate.wpml.org\/api\/wpml\/languages\/mappings","requestArgs":{"method":"GET"},"status":502}
Thank you Waqas! We found the issue, it had to do with the cache after all.
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.