WPML
Status
Open
Topic tags
Compatibility, Known issue

Overview of the issue

If you have updated WordPress to the new 6.7 version, you might have seen this notice:

Function _load_textdomain_just_in_time was called

  • Since WP 6.7, translations should be loaded after WP init hook, you can read about this issue here: https://wordpress.org/support/topic/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called-3/
  • Some plugins load the translation files earlier, and this causes the previous error.
  • Note that the error indicates which plugin caused the issue:

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce 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

    For this example, notice that the issue comes from the WooCommerce domain; it is most likely in the WooCommerce plugin.

Workaround

You should update WPML & WooCommerce plugins to their recent versions.

If you still experience this issue, it is most likely related to another Theme or Plugin;

WordPress 6.7.1 will most likely have a fix for this issue (see this – https://core.trac.wordpress.org/ticket/62337)

All known issues →