Skip Navigation

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 28 replies, has 0 voices.

Last updated by Kor 4 days, 1 hour ago.

Assisted by: Kor.

Author Posts
June 4, 2025 at 6:30 am #17104502

elvisL-3

Background of the issue:
I am trying to manage translations on my site hidden link using WPML.

Symptoms:
Translations are stuck.

Questions:

June 5, 2025 at 7:35 am #17108844

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for contacting us. Please try cancelling the translation job and resending the page for translation again. You can follow the instructions here https://wpml.org/faq/translation-status-stuck-or-displaying-the-error-wpml-didnt-manage-to-translate-this-page/ .

June 5, 2025 at 9:01 am #17109171

elvisL-3

we did it 100 times, nothing helps

wpml.png
June 5, 2025 at 9:07 am #17109244

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

June 6, 2025 at 6:38 am #17112906

elvisL-3

ftp will need your ip address

this is exact clone of simabove.com and you are free to modify plugins.

also the problem presists here as i got stuck translation

June 6, 2025 at 6:43 am #17112911

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. On your production site, could you navigate to WPML > Support > Troubleshooting and share the Automatic Translation account ID with me? I've highlighted it as shown in the attached screenshot from your staging site.

Screenshot_122.png
June 6, 2025 at 7:09 am #17112962

elvisL-3

bd1cf8b4-d5d4-4a6e-b871-c67d3012d0ed#QknK5wmQDPxaa0CI4IReFAtt

June 6, 2025 at 7:13 am #17112966

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. I can see that there are 35,396 available credits on this domain. Would you be able to grant access to your production site so I can investigate the issue directly? I’ve checked the staging site, but there are no available translation credits, so I’m unable to perform any tests there.

If you're okay with this, please ensure a full backup is taken and share the login credentials with me.

June 6, 2025 at 9:00 am #17113264

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thank you for your reply. I’ve checked the following log: hidden link, and I noticed some errors that appear to be related to the issue discussed in this thread: https://wpml.org/forums/topic/error-message-target-should-be-an-object-with-map-method-or-an-array/.

To further investigate and confirm the root cause, could you please share FTP access credentials? I’d like to enable debug mode as outlined here: https://wpml.org/documentation/support/debugging-wpml/ so I can review the error logs directly.

June 9, 2025 at 6:03 am #17116939

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. Could you please grant me permission to edit files for the FTP access that you shared with me? I'm getting errors when I try to edit the wp-config.php to enable the WP debugging.

Screenshot_134.png
June 9, 2025 at 7:25 am #17117159

elvisL-3

can you try now?

June 9, 2025 at 10:43 am #17118058

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

It's still the same. Could you enable debugging mode in wp-config.php

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
June 9, 2025 at 11:04 am #17118114

elvisL-3

done

June 9, 2025 at 11:12 am #17118136

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. I can see lots of PHP Deprecated notices. Could you downgrade your server's PHP to 8.2? PHP 8.4 is still beta for WP https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/ .

June 10, 2025 at 6:56 am #17120333

elvisL-3

downgraded to 8.3 , same issue