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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Kyiv (GMT+02:00)

This topic contains 4 replies, has 0 voices.

Last updated by firstoneS 5 days, 2 hours ago.

Assisted by: Andrey.

Author Posts
November 13, 2024 at 10:12 pm #16399958

francescoL-19

Contesto del problema:
Hello,

after the WordPress 6.7, I see many, many errors PHP on my staging website, all the same. If I switch to the second language, everything is ok. All plug-in are updated to the last version:

WPML Media Translation: 2.7.5
WPML Multilingual CMS: 4.6.14
WPML String Translation: 3.2.15

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the cookie-law-info 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/customer/www/xxx.com/public_html/wp-includes/functions.php on line 6114

I don't know if these errors are related to WPML or to single plug-in.

For example, WooCommerce and Yoast teams are already working to the fix.

https://wordpress.org/support/topic/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called-3/

https://wordpress.org/support/topic/bug-with-the-latest-version-of-wp-6-7/

What should we do?

Sintomi:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the cookie-law-info 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. (This message was added in version 6.7.0.) in /home/customer/www/xxx.com/public_html/wp-includes/functions.php on line 6114.

Domande:
What should we do?

November 13, 2024 at 10:27 pm #16400027

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for contacting WPML support.

Our team is aware of these notifications; however, we could not determine if they are directly related to the WPML plugin.

We recommend waiting for each plugin to address this notification. In the meantime, you can set the debug mode to false to prevent these notifications from being bothersome.

November 14, 2024 at 5:22 pm #16404413

francescoL-19

Ok, thank you. It seems many, many website show my same problem. Many programmers now are in trouble.

I hope you all together will find the solution!

November 14, 2024 at 7:05 pm #16404707

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Yes, that’s true. I hope this issue is resolved as soon as possible. Thank you.

November 18, 2024 at 9:33 am #16413794

firstoneS

sitepress multilingual cms plugin is causing an error throughout the site and back office

[18-Nov-2024 00:51:01 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

wpml-translation-management

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/boisit/public_html/wp-includes/functions.php on line 6114