This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to manage translations on your site using WPML, but the translations are stuck. Solution: Initially, we suggested cancelling the translation job and resending the page for translation. However, please disregard that advice. Our 2nd Tier Support has replicated the issue and provided a workaround. You need to comment out specific code in the file:
Please apply this workaround to your website and check if it resolves the issue with stuck translations. 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.
Thank you for your patience. While preparing the report, I retried canceling and translating the “Activation Android Auto step 4 JE” Elementor template, and it succeeded this time. Please see the attached screenshot. Could you check and let me know if you can replicate the issue on another template or page?
Younare genius-obviously not… still the same…try translate esimaccess trmplate…stuck again… no clue. If you cannot solve this we are saying goodbye and will ask for refund for last payment of 180 eur…as this is taking so much effort and obviously you have no clue what is going on
Thank you for your response, and my apologies for the oversight. I’ve now been able to replicate the issue and will proceed with escalating it to our Tier 2 Support team. I’ll follow up with you as soon as I receive their feedback.
Thanks for your reply, and my apologies for the delay over the weekend. I’ve received some initial feedback from our 2nd Tier Support team, and we’re still actively troubleshooting the issue. We’ll follow up with you as soon as we have more updates.
Our 2nd Tier support is requesting a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.
To guide you further, please adhere to these instructions:
1. View the Duplicator instructions video: hidden link
3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.
Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.
Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.
Thanks for your patience. I'm able to download your Website to my local dev site. I've tested this locally with minimal plugins, and the automatic translation seems to go through as shown in the attached screenshot. Since you've 60++ plugins, going through each one would take some time.
Are you able to clone the site to another staging site so that you can perform a conflict test by deactivating a few plugins one at a time to see which one is causing the issue?
Thanks for your patience. Please ignore the above. Our 2nd Tier Support is able to replicate the issue, and they shared a solution.
The workaround is to comment-out the code in the file: /wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/Hooks/Cache.php
Could you apply the workaround to your Website and let me know if it fixes the translation stuck issue? I tried to apply the workaround for you but I don't have the permission to edit the files via FTP as shown in the attached screenshot. While doing that, the site crashed, and could you please check?
Thanks for your reply. I'm glad to know that it's working now. I will update our 2nd Tier Support regarding the workaround fix. Feel free to change all credentials and mark this ticket as resolved.
Hello!
I am George from the second support.
We discovered that the issue is coming from a plugin that you are using - JetPopup.
When you translate an Elementor template, we flush the cache in order for you to have the proper updated template shown. The plugin JetPopup hooks onto `elementor/core/files/clear_cache` and seems to do an additional logic - that triggers regeneration of ALL templates of Elementor.
This results in a memory error.
It is highly recommended in order to address this properly, that you should contact the plugin author for support and fixes, as this is not something that depends entirely on WPML and the plugin author should work with our compatibility team on finding the best possible way of addressing the issue and fixing it in the future releases.