Skip to content Skip to sidebar

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

Problem:
If you're experiencing a warning on your English language pages indicating that the function

_load_textdomain_just_in_time

was called incorrectly, and it mentions that translation loading for the 'feeds-for-youtube' domain was triggered too early, this could be due to a plugin or theme issue. This issue does not appear on pages in the base language, Dutch.
Solution:
We recommend that you first disable all plugins except those related to WPML and switch your theme to a default WordPress theme, such as Twenty Twenty-five. If the warning disappears under these settings, you should then reactivate each plugin one by one to identify which one is causing the conflict. Our main suspect in this scenario is the 'Feeds for YouTube' plugin.

If this solution does not resolve your issue or 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 the problem persists, please do not hesitate to open a new support ticket with us for further assistance.

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

Last updated by Otto 2 months, 3 weeks ago.

Assisted by: Otto.

Author Posts
December 4, 2025 at 3:49 pm #17635231

josG-3

However... On all English language pages there is now a warning at the top of the page:

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the feeds-for-youtube domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u125144p121218/domains/staging.wingsforanimals.org/public_html/wp-includes/functions.php on line 6131

On the Dutch language pages there are no warnings. Dutch is the base language.

December 4, 2025 at 3:51 pm #17635266

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello Jos,

In your staging site, can you please try the following:

Disable all plugins except WPML-related and temporarily change the theme to a default WordPress, such as Twenty Twenty-five.
Is the issue resolved with these settings? If so, please reactivate one by one to see which conflicts.

My main suspect is:
Feeds for YouTube

Let me know how it goes, please.

Best Regards,
Otto

December 4, 2025 at 5:17 pm #17635745

josG-3

Hello Otto,

Congratulations! Your suspicion of Feeds for Youtube was entirely correct!
With that plugin switched off the notice disappeared. Great.

I will also report it to the Snash Balloon Youtube team.

Best regards,

Jos

December 4, 2025 at 5:45 pm #17635819

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hi Jos,

Great, I am happy to hear that 🙂

Have nice day!

Otto