Skip to content Skip to sidebar

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:

/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/Hooks/Cache.php

. Here is the code you should comment out:

//Hooks::onAction( 'wpml_translation_job_saved' )
//  ->then( spreadArgs( [ $this, 'flushAll' ] ) );

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.

Tagged: 

This topic contains 29 replies, has 0 voices.

Last updated by George Botsev 1 month, 2 weeks ago.

Assisted by: Kor.

Author Posts
June 10, 2025 at 9:26 am #17121088

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I will escalate this further to our 2nd Tier Support for further investigation. I will come back to you once I've feedback.

June 10, 2025 at 1:50 pm #17122238

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

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?

Screenshot_148.png
June 10, 2025 at 5:26 pm #17123135

elvisL-3

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

June 10, 2025 at 5:33 pm #17123145

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

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.

June 16, 2025 at 5:47 am #17137008

elvisL-3

hello any update?

June 16, 2025 at 6:58 am #17137145

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

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.

June 16, 2025 at 1:25 pm #17138960

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

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

2. Consult WPML's instructions on providing supporters with a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

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.

June 17, 2025 at 9:32 am #17141539

elvisL-3

can i send db and files seperately? duplicator does not work on my site.

June 17, 2025 at 9:59 am #17141621

elvisL-3

i added raw db and files in ftp (user wpml) , duplicator is still failing

June 17, 2025 at 4:38 pm #17143436

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Please let me try.

June 17, 2025 at 6:26 pm #17143641

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

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?

Screenshot_191.png
Screenshot_192.png
June 19, 2025 at 4:41 pm #17151793

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

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

	
//Hooks::onAction( 'wpml_translation_job_saved' )
//	->then( spreadArgs( [ $this, 'flushAll' ] ) );

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?

Screenshot_217.png
June 19, 2025 at 5:03 pm #17151907

elvisL-3

looks better now. but hope it is fixed in codebase .

June 19, 2025 at 5:21 pm #17152066

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

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.

June 24, 2025 at 11:07 am #17164424

George Botsev
WPML Supporter since 02/2014

Languages: English (English )

Timezone: Europe/Sofia (GMT+03:00)

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.