Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 51 replies, has 0 voices.

Last updated by Long Nguyen 3 months, 3 weeks ago.

Assisted by: Long Nguyen.

Author Posts
January 8, 2026 at 3:03 am #17711066

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English ) Vietnamese (Vietnamese )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

There are many content items (posts, pages, products ...) that need to be translated. WPML scans all of them and sends them to automatic translation. This process runs in the background, and you need to open the Translation Dashboard tab to keep it working.

Thank you.

Translation Dashboard ‹ Nesheli.com — WordPress 2026-01-08 09-44-12.png
Translation Dashboard ‹ Nesheli.com — WordPress 2026-01-08 09-44-02.png
January 8, 2026 at 7:37 am #17711732
yekdalK

Hi there,

Regarding "Similar issue like Polo category":
The same redirection issue that occurs with the Polo category is also present in many other categories. Manually checking and fixing each category will take a significant amount of time. Please provide a global solution so that all categories affected by this issue are resolved automatically.

Regarding "Automatic Translation":
The automatic translation process seems to get stuck after some time. Please check this issue.
ScreenShot: hidden link
Clarification Needed: Do I need to keep the Translation Dashboard open all the time for the automatic translation to continue working, or should it run in the background on its own?

Regarding "Fatal error using WPML plugin":
I am using a custom script to import products into WooCommerce using MidOcean API. While checking the script logs, I found a fatal error that is blocking the import process. This issue is creating an obstacle for the script execution and needs to be reviewed.
Please check this issue and suggest a fix so the import process can run smoothly without WPML-related interruptions.
Path to my script: /public_html/midocean-api/import_products.php
-> Error:
PHP Fatal error: Uncaught Error: Call to undefined function wpml_tm_add_translation_job() in /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php:1349
Stack trace:
#0 /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/automatic-translation/Actions.php(278): TranslationManagement->send_jobs()
#1 /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/automatic-translation/Actions.php(240): WPML\TM\AutomaticTranslation\Actions\Actions->createJob()
#2 [internal function]: WPML\TM\AutomaticTranslation\Actions\Actions->WPML\TM\AutomaticTranslation\Actions\{closure}()
#3 /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php(151): array_map()
#4 [internal function]: WPML\FP\Fns::WPML\FP\{closure}()
#5 /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array()
#6 [internal function]: WPML\FP\Fns::WPML\FP\{closure}()
#7 /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array()
#8 /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/automatic-translation/Actions.php(244): WPML\FP\Fns::__callStatic()
#9 /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/automatic-translation/Actions.php(102): WPML\TM\AutomaticTranslation\Actions\Actions->createTranslationJobs()
#10 /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Either.php(207): WPML\TM\AutomaticTranslation\Actions\Actions->WPML\TM\AutomaticTranslation\Actions\{closure}()
#11 /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Either.php(257): WPML\FP\Right->map()
#12 /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Promise.php(24): WPML\FP\Right->chain()
#13 /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wp/classes/Hooks.php(50): WPML\FP\Promise->resolve()
#14 /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-includes/class-wp-hook.php(341): WPML\LIB\WP\Hooks::WPML\LIB\WP\{closure}()
#15 /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#16 /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-includes/plugin.php(522): WP_Hook->do_action()
#17 /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-includes/load.php(1308): do_action()
#18 [internal function]: shutdown_action_hook()
#19 {main}
thrown in /home/1541719.cloudwaysapps.com/eqtsvqqdqp/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php on line 1349

New threads created by Long Nguyen and linked to this one are listed below:

https://wpml.org/forums/topic/php-fatal-error-uncaught-error-call-to-undefined-function-wpml_tm_add_translation_job/

January 8, 2026 at 8:47 am #17712017

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English ) Vietnamese (Vietnamese )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Regarding the translation product category page, I've already reported the issue to our team and we will work on this as soon as possible. In the meantime, I suggest you have a unique term slug in all languages to prevent the redirection issue.

Regarding the automatic translation process, yes, you need to keep at least one tab open, visit the Translation Dashboard page to make this process continue working.

Regarding the fatal error, I'm not sure what the custom snippet code does and causes the fatal error on your site or not but I follow the stack trace and see that the function wpml_tm_add_translation_job() exists in the source code, no issue with this.
Then I disable the Translate Everything Automatically option and re-enable it. WPML is scanning the content to translate now.

Please wait until the automatic translation process completed and you can import products to your site later.

Thanks for your patience.

January 8, 2026 at 11:55 am #17712665

yekdalK

Hi there,

Regarding the translation product category page:
Please let me know once this issue is resolved from your end. Manually checking and fixing each category is extremely time-consuming in my setup.
Note: Please do not close this ticket until a proper solution is found and implemented from your side.

Regarding "Automatic translation process":
I have kept the Translation Dashboard open in the background since morning, but the progress is still at 0%. Is there anything that needs to be done from my side to trigger or resume the process?
Previously, I translated products and content without keeping this tab open for so long, and everything worked fine. This behavior seems different now.

Regarding the fatal error:
I am simply using the MidOcean API to fetch data and save it as product details. The script is running via CRON and was working fine earlier.
However, today it is failing, and the error clearly points to your plugin. Please investigate this issue in depth, as it is blocking the product import process.

January 9, 2026 at 2:16 am #17714621

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English ) Vietnamese (Vietnamese )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I've split this ticket into another one for the issue with automatic translation and the fatal error for better handling. Here is the ticket URL https://wpml.org/forums/topic/php-fatal-error-uncaught-error-call-to-undefined-function-wpml_tm_add_translation_job/

I will update you here when there is a solution to fix the issue with the translation product category page. Of course, this ticket won't be closed until I get your confirmation.

Thank you.

January 15, 2026 at 11:48 am #17732983

yekdalK

Hi there

Follow-up regarding “Similar issue like Polo category”

I am following up on this issue, as the same redirection problem affecting the Polo category still exists across multiple other categories. Manually identifying and fixing each category is not feasible given the scale.

Please share a global and permanent solution that can automatically resolve this issue for all affected categories, rather than applying fixes individually. I would appreciate an update on the progress and an estimated timeline for resolution.

Thank you.

January 16, 2026 at 2:53 am #17735581

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English ) Vietnamese (Vietnamese )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I'm discussing this issue with the development team, and I will update you here when a custom code is available to resolve the issue. In the meantime, I recommend that you have a unique term slug across languages to avoid the redirection issue on the product category page.

Thanks for your understanding and patience.