Skip Navigation

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.

Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

Supporter timezone: Europe/Vienna (GMT+01:00)

Tagged: 

This topic contains 12 replies, has 0 voices.

Last updated by Bigul 5 days, 9 hours ago.

Assisted by: Bigul.

Author Posts
December 10, 2024 at 2:55 pm #16498982

judithR-10

Background of the issue:
I am trying to set up Media Translation on a site that is currently under development. I am following the WPML documentation.

Symptoms:
The setup process starts but then an error occurs and it doesn't finish.

Questions:

December 10, 2024 at 4:47 pm #16499745

Bigul
Supporter

Languages: English (English )

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

Hi Judith,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Please try the following steps after a full site backup and ensure you are getting the expected results. Refer to the attached image for more details.

1) Visit WPML>>Settings
2) Scroll down to *Media Translation* section
3) Click on the *Start* button

--
Thanks!

Bigul

2024-12-10_22h14_56.png
December 11, 2024 at 11:19 am #16502969

judithR-10

I have made your steps. Still error to finish setup.

December 11, 2024 at 5:04 pm #16504751

Bigul
Supporter

Languages: English (English )

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

Hi Judith,

Thank you for the updates. Please check if you are getting any error or warning related to WPML in the Debug.log file while having this error.

--
Thanks!

Bigul

December 12, 2024 at 11:19 am #16507374

judithR-10

Still, Media translation cannot finish set up.

It's always the same in the debugging log:

[12-Dec-2024 10:26:22 UTC] PHP Notice: Die Funktion _load_textdomain_just_in_time wurde fehlerhaft aufgerufen. Das Laden der Übersetzung für die Domain

wpresidence

wurde zu früh ausgelöst. Das ist normalerweise ein Hinweis auf Code im Plugin oder Theme, der zu früh läuft. Übersetzungen sollten mit der Aktion

init

oder später geladen werden. Weitere Informationen: Debugging in WordPress (engl.). (Diese Meldung wurde in Version 6.7.0 hinzugefügt.) in ....

December 12, 2024 at 11:22 am #16507380

judithR-10

And this!

[12-Dec-2024 10:51:20 UTC] PHP Warning: Undefined array key 1 in /kunden/406280_15806/webseiten/prev2/wp-content/plugins/elementor/includes/managers/image.php on line 84
[12-Dec-2024 10:51:20 UTC] PHP Warning: Undefined array key 2 in /kunden/406280_15806/webseiten/prev2/wp-content/plugins/elementor/includes/managers/image.php on line 85
[12-Dec-2024 10:51:20 UTC] PHP Warning: Undefined array key 1 in /kunden/406280_15806/webseiten/prev2/wp-content/plugins/elementor/includes/managers/image.php on line 84
[12-Dec-2024 10:51:20 UTC] PHP Warning: Undefined array key 2 in /kunden/406280_15806/webseiten/prev2/wp-content/plugins/elementor/includes/managers/image.php on line 85
[12-Dec-2024 10:51:20 UTC] PHP Warning: Undefined array key 1 in /kunden/406280_15806/webseiten/prev2/wp-content/plugins/elementor/includes/managers/image.php on line 84
[12-Dec-2024 10:51:20 UTC] PHP Warning: Undefined array key 2 in /kunden/406280_15806/webseiten/prev2/wp-content/plugins/elementor/includes/managers/image.php on line 85

December 12, 2024 at 4:41 pm #16508945

Bigul
Supporter

Languages: English (English )

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

Hi Judith,

Thank you for the updates. The PHP noties you have shared will not trigger this error. I was able to complete the Media Sync from WPML>>Settings>>Media Translation. But it still shows the following warning. Please check the attached images for more details.

Die Einrichtung von WPML Media Translation ist nahezu abgeschlossen. Klicken Sie auf hier, um die Einrichtung zu beenden.

Which hosting you are currently using? When I click *Klicken Sie auf hier* and sync the Media Items, it shows a *500 (Internal Server Error)*. So please check if you are getting any error related to WPML in the server error log while having this bug. May you need your hosting team's support to access the server error log file.

Also, I have a request. Please upgrade the following configurations for the better performance of the site.

1) Increase *WP Memory Limit* to *512 MB*. Please check the following link for more details

https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

2) Increase the *MaxInputVars* of PHP settings to *10000*. Please check the following article for more details or contact your system admin/hosting provider for this purpose.

hidden link

--
Thanks!

Bigul

2024-12-12_21h47_57.png
2024-12-12_21h47_31.png
2024-12-12_21h44_38.png
2024-12-12_21h43_52.png
2024-12-12_21h22_13.png
December 13, 2024 at 1:25 pm #16511542

judithR-10

Thank you very much! That's a very helpful information!

I will check this with the admin and let you know.

December 14, 2024 at 2:47 am #16512940

Bigul
Supporter

Languages: English (English )

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

Hi Judith,

Thank you for the feedback. Take your time. We will wait for your updates.

--
Thanks!

Bigul

December 17, 2024 at 3:37 pm #16522605

judithR-10

I have done your steps.
But Media translation cannot finish.

December 18, 2024 at 1:43 am #16523868

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the updates. Which hosting you are currently using? When I click *Klicken Sie auf hier* and sync the Media Items, it shows a *500 (Internal Server Error)* - hidden link

So please check if you are getting any error related to WPML in the server error log while having this bug. May you need your hosting team's support to access the server error log file.

--
Thanks!

Bigul

December 19, 2024 at 10:33 am #16529393

judithR-10

Hi Bigul,

we have a memory limit from 256 MB, so we need to upgrade it to 512 MB to use Media Translation properly? I need agreement from the client.

Thanks!
Judith

December 19, 2024 at 2:46 pm #16530601

Bigul
Supporter

Languages: English (English )

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

Hi Judith,

I had another round of testing on your site in a minimal setup when WPML plugins are only active with the WpResidence theme. As I shared before it is possible to sync the Media files successfully from WPML>>Settings>>Media Translation. Refer to this screencast for more details - hidden link

So most probably the following warning will be a false notification.

Die Einrichtung von WPML Media Translation ist nahezu abgeschlossen. Klicken Sie auf hier, um die Einrichtung zu beenden

For now, you don't have to increase the Memory limit to 512 MB. The Debug.log is not showing any warning or error related to WPML while having this bug. Therefore we have a couple of requests for tracking this bug.

1) Which hosting service you are currently using

2) So please check if you are getting any error related to WPML in the server error log while having this bug. May you need your hosting team's support to access the server error log file. We are requesting it because of the *500 (Internal Server Error)*. Refer to the attached image for more details.

--
Thanks!

Bigul

2024-12-19_18h50_13.png