Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to translate a product template from Italian to German using WPML, but encounter a critical error for some templates, preventing access to the translation editor. Additionally, some translation queues do not progress.
Solution:
The issue you're experiencing is related to a known error documented here: WPML Fatal Error When Translating Pages Containing Images Without Metadata.
First, ensure that all your plugins are updated to the latest versions. If the problem persists, access your database and truncate the

icl_background_task

table. Please ensure you back up your database before making any changes.

If these steps do not resolve your issue or if the information provided becomes outdated, we 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. Should the problem continue, please do not hesitate to open a new support ticket with us for further assistance 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 14 replies, has 0 voices.

Last updated by Paola Mendiburu 4 weeks, 1 day ago.

Assisted by: Paola Mendiburu.

Author Posts
October 5, 2025 at 10:39 am #17457045

morenoG-2

Background of the issue:
I am trying to translate a product template from Italian to German using WPML.

Symptoms:
Some templates can't translate to other languages, leaving a critical error. This issue doesn't happen for all products, only some. I expected to see the translation editor, but instead, I got an error screen.

Questions:
Why does translating some product templates result in a critical error?
Why does this issue occur only for some products and not all?
Moreover, there are some queues that don't progress, why? please see screenshot.

October 6, 2025 at 12:22 pm #17460532

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

1.- Please share the fatal error message in your next reply so we can get more information on the issue.

2.- I kindly ask you to describe step-by-step how to reproduce the issue on the site, because you mentioned templates and products, and I'm not sure what you are referring to.

Looking forward to your message.
Regards,
Carlos

October 9, 2025 at 7:46 am #17469655

morenoG-2

Hello Carlos,

probably the situation will be much more clear by watching this screen recorder:

hidden link

thanks!

Moreno

October 9, 2025 at 9:38 am #17470071

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi Moreno,
Thank you very much for sharing the video

1.- I kindly ask you to follow these steps:
- Create a full site backup
- Activate the WordPress debug mode as described in this guide: https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
- Reproduce the error
- Share the latest fatal error that appears in the debug.log file located within the wp-content folder

2.- Also, have you noticed if there is something in common between the templates and/or the products where the error appears?

October 16, 2025 at 7:57 am #17489042

morenoG-2

[16-Oct-2025 07:50:44 UTC] PHP Notice: La funzione register_meta è stata richiamata in maniera scorretta. Quando registri un "array" di tipo meta da mostrare nelle REST API, devi specificare per ogni elemento dell'array lo schema in "show_in_rest.schema.items". Leggi Debugging in WordPress per maggiori informazioni. (Questo messaggio è stato aggiunto nella versione 5.3.0.) in /home/tokeoil1/public_html/wp-includes/functions.php on line 6121
[16-Oct-2025 07:50:52 UTC] PHP Notice: La funzione register_meta è stata richiamata in maniera scorretta. Quando registri un "array" di tipo meta da mostrare nelle REST API, devi specificare per ogni elemento dell'array lo schema in "show_in_rest.schema.items". Leggi Debugging in WordPress per maggiori informazioni. (Questo messaggio è stato aggiunto nella versione 5.3.0.) in /home/tokeoil1/public_html/wp-includes/functions.php on line 6121
[16-Oct-2025 07:52:53 UTC] PHP Notice: La funzione register_meta è stata richiamata in maniera scorretta. Quando registri un "array" di tipo meta da mostrare nelle REST API, devi specificare per ogni elemento dell'array lo schema in "show_in_rest.schema.items". Leggi Debugging in WordPress per maggiori informazioni. (Questo messaggio è stato aggiunto nella versione 5.3.0.) in /home/tokeoil1/public_html/wp-includes/functions.php on line 6121
[16-Oct-2025 07:53:08 UTC] PHP Warning: Undefined array key 1688 in /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/media-translation/AddMediaDataToTranslationPackage.php on line 83
[16-Oct-2025 07:53:08 UTC] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/media-translation/AddMediaDataToTranslationPackage.php:82
Stack trace:
#0 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/media-translation/AddMediaDataToTranslationPackage.php(82): array_merge(NULL, Array)
#1 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/media-translation/AddMediaDataToTranslationPackage.php(26): WPML\MediaTranslation\AddMediaDataToTranslationPackage->get_bundled_media_to_translate(Object(WP_Post))
#2 /home/tokeoil1/public_html/wp-includes/class-wp-hook.php(326): WPML\MediaTranslation\AddMediaDataToTranslationPackage->add_media_strings(Array, Object(WP_Post))
#3 /home/tokeoil1/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#4 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/translation-jobs/class-wpml-element-translation-package.php(166): apply_filters('wpml_tm_transla...', Array, Object(WP_Post), true)
#5 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(1276): WPML_Element_Translation_Package->create_translation_package(Object(WP_Post), true)
#6 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/class-wpml-translation-job-factory.php(113): TranslationManagement->send_jobs(Object(WPML_TM_Translation_Batch), 'post', 1)
#7 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/jobs/Manual.php(164): WPML_Translation_Job_Factory->create_local_job('10044', 'de', NULL, 'post_elementor_...', 1, 'it')
#8 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/jobs/Manual.php(43): WPML\TM\Jobs\Manual->createLocalJob('10044', 'it', 'de', 'post_elementor_...')
#9 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Either.php(207): WPML\TM\Jobs\Manual->createOrReuse(Array)
#10 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/editor/Editor.php(103): WPML\FP\Right->map(Array)
#11 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/menu/translation-queue/class-wpml-translations-queue.php(52): WPML\TM\Editor\Editor->open(Array)
#12 /home/tokeoil1/public_html/wp-includes/class-wp-hook.php(324): WPML_Translations_Queue->load(Object(WP_Screen))
#13 /home/tokeoil1/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#14 /home/tokeoil1/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#15 /home/tokeoil1/public_html/wp-admin/includes/class-wp-screen.php(424): do_action('current_screen', Object(WP_Screen))
#16 /home/tokeoil1/public_html/wp-admin/includes/screen.php(243): WP_Screen->set_current_screen()
#17 /home/tokeoil1/public_html/wp-admin/admin.php(213): set_current_screen()
#18 {main}
thrown in /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/media-translation/AddMediaDataToTranslationPackage.php on line 82
[16-Oct-2025 07:53:36 UTC] PHP Notice: La funzione register_meta è stata richiamata in maniera scorretta. Quando registri un "array" di tipo meta da mostrare nelle REST API, devi specificare per ogni elemento dell'array lo schema in "show_in_rest.schema.items". Leggi Debugging in WordPress per maggiori informazioni. (Questo messaggio è stato aggiunto nella versione 5.3.0.) in /home/tokeoil1/public_html/wp-includes/functions.php on line 6121
[16-Oct-2025 07:53:51 UTC] PHP Warning: Undefined array key 1688 in /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/media-translation/AddMediaDataToTranslationPackage.php on line 83
[16-Oct-2025 07:53:51 UTC] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/media-translation/AddMediaDataToTranslationPackage.php:82
Stack trace:
#0 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/media-translation/AddMediaDataToTranslationPackage.php(82): array_merge(NULL, Array)
#1 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/media-translation/AddMediaDataToTranslationPackage.php(26): WPML\MediaTranslation\AddMediaDataToTranslationPackage->get_bundled_media_to_translate(Object(WP_Post))
#2 /home/tokeoil1/public_html/wp-includes/class-wp-hook.php(326): WPML\MediaTranslation\AddMediaDataToTranslationPackage->add_media_strings(Array, Object(WP_Post))
#3 /home/tokeoil1/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#4 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/translation-jobs/class-wpml-element-translation-package.php(166): apply_filters('wpml_tm_transla...', Array, Object(WP_Post), true)
#5 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(1276): WPML_Element_Translation_Package->create_translation_package(Object(WP_Post), true)
#6 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/class-wpml-translation-job-factory.php(113): TranslationManagement->send_jobs(Object(WPML_TM_Translation_Batch), 'post', 1)
#7 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/jobs/Manual.php(164): WPML_Translation_Job_Factory->create_local_job('7894', 'de', NULL, 'post_elementor_...', 1, 'it')
#8 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/jobs/Manual.php(43): WPML\TM\Jobs\Manual->createLocalJob('7894', 'it', 'de', 'post_elementor_...')
#9 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Either.php(207): WPML\TM\Jobs\Manual->createOrReuse(Array)
#10 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/editor/Editor.php(103): WPML\FP\Right->map(Array)
#11 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/menu/translation-queue/class-wpml-translations-queue.php(52): WPML\TM\Editor\Editor->open(Array)
#12 /home/tokeoil1/public_html/wp-includes/class-wp-hook.php(324): WPML_Translations_Queue->load(Object(WP_Screen))
#13 /home/tokeoil1/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#14 /home/tokeoil1/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#15 /home/tokeoil1/public_html/wp-admin/includes/class-wp-screen.php(424): do_action('current_screen', Object(WP_Screen))
#16 /home/tokeoil1/public_html/wp-admin/includes/screen.php(243): WP_Screen->set_current_screen()
#17 /home/tokeoil1/public_html/wp-admin/admin.php(213): set_current_screen()
#18 {main}
thrown in /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/media-translation/AddMediaDataToTranslationPackage.php on line 82
[16-Oct-2025 07:54:00 UTC] PHP Notice: La funzione register_meta è stata richiamata in maniera scorretta. Quando registri un "array" di tipo meta da mostrare nelle REST API, devi specificare per ogni elemento dell'array lo schema in "show_in_rest.schema.items". Leggi Debugging in WordPress per maggiori informazioni. (Questo messaggio è stato aggiunto nella versione 5.3.0.) in /home/tokeoil1/public_html/wp-includes/functions.php on line 6121
[16-Oct-2025 07:54:08 UTC] PHP Notice: La funzione register_meta è stata richiamata in maniera scorretta. Quando registri un "array" di tipo meta da mostrare nelle REST API, devi specificare per ogni elemento dell'array lo schema in "show_in_rest.schema.items". Leggi Debugging in WordPress per maggiori informazioni. (Questo messaggio è stato aggiunto nella versione 5.3.0.) in /home/tokeoil1/public_html/wp-includes/functions.php on line 6121
[16-Oct-2025 07:54:22 UTC] PHP Warning: Undefined array key 1688 in /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/media-translation/AddMediaDataToTranslationPackage.php on line 83
[16-Oct-2025 07:54:22 UTC] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/media-translation/AddMediaDataToTranslationPackage.php:82
Stack trace:
#0 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/media-translation/AddMediaDataToTranslationPackage.php(82): array_merge(NULL, Array)
#1 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/media-translation/AddMediaDataToTranslationPackage.php(26): WPML\MediaTranslation\AddMediaDataToTranslationPackage->get_bundled_media_to_translate(Object(WP_Post))
#2 /home/tokeoil1/public_html/wp-includes/class-wp-hook.php(326): WPML\MediaTranslation\AddMediaDataToTranslationPackage->add_media_strings(Array, Object(WP_Post))
#3 /home/tokeoil1/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#4 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/translation-jobs/class-wpml-element-translation-package.php(166): apply_filters('wpml_tm_transla...', Array, Object(WP_Post), true)
#5 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(1276): WPML_Element_Translation_Package->create_translation_package(Object(WP_Post), true)
#6 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/class-wpml-translation-job-factory.php(113): TranslationManagement->send_jobs(Object(WPML_TM_Translation_Batch), 'post', 1)
#7 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/jobs/Manual.php(164): WPML_Translation_Job_Factory->create_local_job('7894', 'es', NULL, 'post_elementor_...', 1, 'it')
#8 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/jobs/Manual.php(43): WPML\TM\Jobs\Manual->createLocalJob('7894', 'it', 'es', 'post_elementor_...')
#9 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Either.php(207): WPML\TM\Jobs\Manual->createOrReuse(Array)
#10 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/editor/Editor.php(103): WPML\FP\Right->map(Array)
#11 /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/menu/translation-queue/class-wpml-translations-queue.php(52): WPML\TM\Editor\Editor->open(Array)
#12 /home/tokeoil1/public_html/wp-includes/class-wp-hook.php(324): WPML_Translations_Queue->load(Object(WP_Screen))
#13 /home/tokeoil1/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#14 /home/tokeoil1/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#15 /home/tokeoil1/public_html/wp-admin/includes/class-wp-screen.php(424): do_action('current_screen', Object(WP_Screen))
#16 /home/tokeoil1/public_html/wp-admin/includes/screen.php(243): WP_Screen->set_current_screen()
#17 /home/tokeoil1/public_html/wp-admin/admin.php(213): set_current_screen()
#18 {main}
thrown in /home/tokeoil1/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/media-translation/AddMediaDataToTranslationPackage.php on line 82

October 16, 2025 at 8:01 am #17489048

morenoG-2

Moreover, as I said before, there is this icon with two processes running for weeks, without improving from zero

Screenshot 2025-10-16 alle 10.00.21.png
October 16, 2025 at 9:54 am #17489608

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Thank you so much for sharing this information.

It seems that the cause of the issue is related to the media elements attached to the content.

Please create a staging site with a copy of the live site (you can use WP Staging plugin for free) and share the access credentials to the site in your next message, which I have set private.

This will allow me to run the necessary tests without affecting the production site.

Looking forward to your message.

October 16, 2025 at 3:30 pm #17491337

morenoG-2

these were some of the products/templates running into errors(please remember to add /staging to the URL, as these were the original production links):

Kit Home Essentials Enrolment DE hidden link
Kit Beginner's Trio (Iscrizione non inclusa)
DE hidden link
Kit Introductory (Iscrizione non inclusa)
DE hidden link
Olio di Cocco Frazionato DE hidden link
Pompetta per olio frazionato di cocco
DE hidden link
Arancio Dolce AL hidden link
Iscrizione doTERRA AL hidden link
Pompetta per olio frazionato di cocco
AL hidden link
Arancio Dolce ES hidden link
Kit Home Essentials Enrolment ES hidden link
Kit Beginner's Trio (Iscrizione non inclusa)
ES hidden link
Iscrizione doTERRA ES hidden link
Kit Introductory (Iscrizione non inclusa)
ES hidden link
Olio di Cocco Frazionato ES hidden link
Pompetta per Olio Frazionato di Cocco
ES hidden link
Zendocrine ES
hidden link
Error: Nessun contenuto trovato corrispondente alla tua ricerca.
Hero Prodotto KIT NO iscrizione ES hidden link
call back to action prodotto kit NO iscrizione
ES hidden link
Toke homepage ES hidden link
Lavanda FR hidden link
Limone FR hidden link
Arancio Dolce FR hidden link
Hero Prodotto KIT NO iscrizione FR hidden link
call back to action prodotto kit NO iscrizione
FR
hidden link
Error: La tua traduzione è ancora in fase di completamento.

October 17, 2025 at 3:33 pm #17494697

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+01:00)

Hi there!

This is Paola and I will continue with the ticket as Carlos is on holidays.

The error is related to this errata:
https://wpml.org/errata/wpml-4-8fatal-error-when-translating-pages-containing-images-without-metadata/

Please update plugins to the latest version.

Let me know if you have any problem.

October 20, 2025 at 7:49 pm #17500940

morenoG-2

Hi Paola, the update solved only some templates, but many other still give the same error.
Is there a way to speed up the solution? Moreover, the other problems I highlighted was never addressed. Thanks

October 21, 2025 at 9:04 am #17502097

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+01:00)

Let´s go one problem at a time.

If you find the same error on other template please do the following:
- go to WPML --> Translation dashboard --> Jobs and cancel the job
- then translate again the template

Please let me know if that solves the issue.

October 21, 2025 at 3:09 pm #17503683

morenoG-2

Hi Paola, it seems that solved the issue, now we need to tackle the top bar with the WPML icon showing two messages:

1.
Updating affected posts for changes in translatable fields
onesignal_meta_box_present, onesignal_modify_title_and_content, onesignal_notification_custom_content, onesignal_notification_custom_heading, onesignal_send_notification. 0 / 511
0%

2.
Updating affected posts for changes in translatable fields ekit_post_views_count, onesignal_meta_box_present, onesignal_modify_title_and_content, onesignal_notification_custom_content, onesignal_notification_custom_heading, onesignal_send_notification, uap_landing_page_affiliate_id. 0/1065
0%

October 22, 2025 at 6:14 am #17505212

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+01:00)

Hi there!

This is related that you have ACF fields.

October 23, 2025 at 1:15 pm #17512661

morenoG-2

so it's normal that the icon is there, and never progressing?
Like 0/1065

Thanks.

October 23, 2025 at 2:33 pm #17512908

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Madrid (GMT+01:00)

No, it´s not normal that means that it is stuck.

Could you please access to your database and truncate the icl_background_task table?

Please make sure to have a backup first.