[Resolved] Translation job never finishes - page not accessible in backend
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was unable to open the page editor due to a critical error. Disabling the WPML plugin allowed the editor to open. When translating with WPML, the client received a 100% and Translation completed message, but the translation list showed the status as in progress. Changing text did not resolve the issue. Solution: First, we suggested the client to cancel stuck jobs by navigating to WPML > Support > Troubleshooting and clicking on 'Cancel Automatic Jobs in Progress'. Secondly, we proposed two potential solutions: 1. We theorized that the issue might be due to the PHP version 8.1.22-he.0 not being fully compatible with WordPress, as detailed here: https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/. We recommended temporarily switching back to PHP version 7.4 to see if the issue persists. 2. As a workaround, we suggested cloning the page and opening it with the WordPress editor, which could resolve a potential corrupted file issue in the database. The client could then set the cloned page as the homepage and retranslate it from scratch.
Please note that the solution provided might be irrelevant due to being outdated or not applicable to your case. If the issue persists, 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 necessary, please open a new support ticket with us 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.
I wanted to edit my page but there is a critical error that keeps the editor from opening. Stopping the WPML plugin lets me open the page in edit mode. When I translate using WPML I get a 100% and Translation completed message. But in the translation list it keeps the status of in progress. I tried to change some text but it won't make a difference.
Languages: English (English )French (Français )Arabic (العربية )
Timezone: Pacific/Easter (GMT-06:00)
Hello,
Thanks for contacting WPML support.
Please check if you are getting any errors or warnings related to WPML in the WordPress Debug log or Server Error Log while having this issue. May you need your hosting team's support to access the server error log file.
To enable WP debug log, open your wp-config.php file and look for:
define('WP_DEBUG', false);
And change it to:
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 which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);
Then try to reproduce the issue and check if any errors were saved to the debug.log log file inside the /wp-content/ directory
If you can paste your debug.log to https://pastebin.com/ and provide me that link, it would be great!
Hi,
the problem that I have is that I can not redo the process as it is not finishing the current translation job. Let me explain. I have made changes to the original (German) version and translated myself using the WPML tool. It gave a positive response and did the translation job. But: the translation status stayed as in progress. I stopped the job but as you can see on the last screenshot something is still trying to translate.
I have had the issue earlier and a colleague of yours sent me a solution by deleting the translation and have it redone. I just can't remember how I did it. Could you please have a look at the attached screenshots? Thanks
In addition:
I did use a backup to return to a previous version and made the changes to wp-config. The issue remains the same but no log-file was created.
I can still not edit my homepage. Other pages are ok. Deactivating WPML Multilingual CMS plugin lets me edit the page. And the ever rotating translation in progress status seems to be the issue. I am using Avada Theme. WordPress and all plugins are up to date.
I have tried to enter my Log-in credentials in the form provided but ist seems to be read only. Would it be ok if I post it here (private chat)?
(Thanks for your help)
Languages: English (English )French (Français )Arabic (العربية )
Timezone: Pacific/Easter (GMT-06:00)
Hello,
Thank you for the access,
I have checked your site and it was rather simple to remove the stuck job, you can do it from WPML > Support > Troubleshooting (Fehlerbehebung) > Cancel Automatic Jobs in Progress, here is a screenshot of the button : hidden link
I do not see any errors related to this in the background nor the connection with ATE servers, I'm assuming this is a temporary issue. Please let us know if it repeats and share the workflow you followed to translate it.
Thank you Ilyes, I did not know about this option. You are right, it does stop the job. But it did not solve the issue.
If you try to edit the "UNEX-BI Home" page in backend mode (not in live view) an error message is shown and no edits can be made.
When deactivating WPML changes can be made. So it has something to do with the plugin.
May I ask you to have another glance at my website? Thank you so much!
Languages: English (English )French (Français )Arabic (العربية )
Timezone: Pacific/Easter (GMT-06:00)
Hello,
I have installed a couple of plugin to get more info on the issue, but the error log isn't logging anything,
I have one theory and one possible workaround.
1- Theory : I see you are using the PHP version 8.1.22-he.0 , this version isn't entirely compatible with WordPress itself as you can read here : https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/
And by result, it might be the cause as WPML is also not entirely compatible with that version, so as a further test, could you change the PHP version back to 7.4 temporarily and see if the issue persists.
2- Workaround: When cloning the page, I was able to open it with WordPress editor, I think it could be a corrupted file issue in the database, and that's why i simply recommend to clone the page, set it as homepage and retranslate it from scratch>
Thanks for your valuable support Ilyes. Going back to PHP 7.4. ist not offered by my host but I tried 8.2. which does not solve the issue. But your workaround sounds good to me and gives me the opportunity to do some changes to the design on the way. So I am good. Thanks again.