Skip Navigation

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.

We fixed the issue in our last plugin updates:

  • WPML Multilingual CMS 4.6.14.
  • WPML String Translation 3.2.15.

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)

17 Responses to “PHP error WP 6.7: Notice: Function _load_textdomain_just_in_time was called”

  1. Hello,
    I have these notices for 3 other plugins:
    – Yoast SEO
    – The Event Calendar
    – Complianz – GDPR/CCPA Cookie Consent

    Even with the last plugin updates
    If a desactivate WMPL: no more notices

    Thank’s for help

    Best

    Vince

    • Hello Vince,
      While we wait for WordPress 6.7.1, other plugins has also released new versions which solve this issue. For example, yesterday Yoast SEO 23.9 also addressed this situation.
      We recommend you to keep all your plugins updated.
      Regards

  2. Hi there!
    Any idea why these new releases are not showing up yet in my WP plugins list as updates? Itś been almost a week since their release and I haven’t get any update notification there.
    Thanks in advance,
    N.

  3. Hi,

    I have updated everything and I confirm that there are no dubug error anymore after the update. However string translation is not working yet in my case. In particular, I have translated strings related to divi template builder (e.g. domain: page-builder-shortcode-strings-5048).

    Translation are visible in In WPML > string translation . However they are not showing up on the frontend.

    Please help to fix

  4. Hi,

    Unfortunately, updating to WordPress 6.7.1 did not resolve this issue in my case.
    The translation from the native language to English is still not working.

    Errors (“Function _load_textdomain_just_in_time”) related to the following plugins were found in the debug.log file:
    – Gravity Perks
    – Rank Math
    – Rank Math Pro

    For now, I have restored a full backup and will wait for a more stable solution.

    Best regards,
    Kalevi

  5. I have this problem to

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

    /htdocs/wp-includes/functions.php on line 6114

    • Hello Andreas,
      This issue is still open as WP 6.7.1 didn’t provide a complete solution.
      We will keep this page updated once we have news.

  6. Yo tengo el mismo problema. Al actualizar la versión de wordpress al 6.7.1 el plugin WPML mostró el mismo error. Abrí un ticket y tampoco me han dado solución, argumentando que no era problema de WPML porque ellos ya lo tenían corregido. Me dijeron que que comprobase el resto de los plugins, pero tras deshabilitarlos todos seguía el mismo mensaje de error.
    Al final he tenido que volver a una versión anterior del worpdpress mediante el plugin WP Downgrade para recuperar mi contenido y esperar a que WPML encuentre una solución definitiva.

    • Hola Manu, Los cambios realizados en WordPress 6.7.1 no fueron suficientes, por lo que el problema sigue abierto.
      Mantendremos esta página abierta hasta que encontremos una solución.

  7. I am on the latest version of everything and I am having this issue for these plugins.

    yith-woocommerce-recover-abandoned-cart
    yaymail

    • Hi there,

      Please check if WP, WPML and the other plugins are updated to the latest version.

      If the issue persist, please create a new ticket or chat in our support forum.

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>