[Resolved] The Advanced Editor jobs synchronization has failed
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing an issue where the Advanced Editor jobs synchronization failed when using PHP 8.4, redirecting them to the Translations queue instead of the translation tool. Solution: 1. We recommended downgrading the PHP version to 8.2 or 8.1 and ensuring that WPML is updated to version 4.8.1. 2. We advised activating the WordPress debug mode and checking the debug.log for errors when PHP 8.4 is active. The instructions for activating debug mode can be found here: https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/ 3. We suggested deactivating all plugins, including WPML ones, activating a default WordPress theme like Twenty Twenty, and then reactivating the WPML plugins. If the issue disappeared, the client was to reactivate the theme and other plugins one by one to identify the culprit. 4. Since PHP 8.4 is not fully supported by some WordPress functionalities, we recommended contacting the hosting provider to check server-side logs for any errors.
Please note that this solution might be 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 the issue persists, 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.
Background of the issue:
I am trying to translate a page for testing using WPML. The issue can be seen on this page: hidden link
Symptoms:
I received a message saying 'The Advanced Editor jobs synchronization has failed' and I am redirected to the Translations queue instead of seeing the translation tool.
Questions:
Why did the Advanced Editor jobs synchronization fail?
How can I access the translation tool instead of being redirected to the Translations queue?
Languages: English (English )Spanish (Español )Italian (Italiano )
Timezone: Europe/Rome (GMT+02:00)
Hello,
I'll help you get started while a supporter takes your case.
Please do 2 things to make sure we have everything setup correctly:
- Please downgrade your PHP Version to 8.2 or 8.1 (you can ask your hosting to do this for you)
- Make sure you have version 4.8.1 of WPML (you currently have version 4.7.6).
-----------
The page you saw this issue in is in the "Translation Jobs" tab inside WPML > Translation Dashboard, not in Translation Tools, where you can see the credits usage and such. Can you confirm you wanted to see the last one, instead?
Let us know so we can understand how to continue next.
Hello, I already upgraded all the WPML plugins to the latest version. And also down graded PHP to 8.2. However, my production site is using PHP 8.4, so will the issue still persistent if the PHP version back to 8.4?
Yes, it is working now. But my production site is using PHP 8.4 and the ATE is working fine as well. Why when it comes to the test sit I need to down graded it then? And is it a permanent solution that I cannot use PHP 8.4 anymore?
Hi, so when I activate PHP 8.4, the same issue occurs. And I went to check the debug.log, there are many of PHP Deprecated warning point to WPML but there is no error reported. So do you know what is the root of cause of this issue?
We don't have enough information to know the cause of this behavior. Please follow these steps:
- Activate the WordPress debug mode
- Deactivate all plugins, including the WPML ones
- Activate a default WordPress theme, like Twenty Twenty
- Activate the WPML plugins
- If the issue disappeared, start by activating the theme and then the rest of the plugins, one by one, until the issue appears again and you find the culprit.
Note: I assumed you already ran the migration banner, which is similar to this: hidden link
Also, I assume there is no firewall directive blocking the connection between the test site and our servers.
- Activate the WordPress debug mode
- Deactivate all plugins, including the WPML ones
- Activate a default WordPress theme, like Twenty Twenty
- Activate the WPML plugins
- If the issue disappeared, start by activating the theme and then the rest of the plugins, one by one, until the issue appears again and you find the culprit.
I cannot find anything than just PHP Deprecated message on debug.log
I can confirmed that PHP 8.3 is working on the test site, but not PHP 8.4
I will just use PHP 8.3 for my testing task. However, if you have any update about why ATE is not compatible with PHP 8.4, please let me know.
PHP 8.4 is still not fully supported by the WordPress functionalities. The Advanced Translation Editor, and the translation process works on your production site, which means that the problem is not between WPML and PHP v8.4.
I'd recommend contacting your hosting providers and asking them to check on the server side logs to see if there is any errors on the error logs.