Home›Support›English Support›[Waiting for user confirmation] PHP error WP 6.7: Notice: Function _load_textdomain_just_in_time was called incorrectly.
[Waiting for user confirmation] PHP error WP 6.7: Notice: Function _load_textdomain_just_in_time was called incorrectly.
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/
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:
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.
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.
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.
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