• I’m currently running WordPress 6.7.0-beta, and I’m encountering the following error when visiting a product page or interacting with WooCommerce menus:

    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. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.)

    The error seems to indicate that the translation loading for WooCommerce is happening too early in the execution order, likely due to a plugin or theme code being triggered prematurely.

    Expected behavior

    No errors related to translation loading should be triggered during normal WooCommerce usage.

    Actual behavior

    The error message about _load_textdomain_just_in_time is displayed, indicating that translation loading was triggered too early.


    Steps to reproduce

    1. Install WordPress 6.7.0-beta.
    2. Install and activate WooCommerce.
    3. Visit a product page or interact with WooCommerce menus.
    4. The error message appears on the screen or in the debug log.

    WordPress Environment

    WordPress Version: 6.7-beta1-59156
    WooCommerce Version: 9.3.3
    Theme: Storefront

    Isolating the problem

    •  I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
    •  This bug happens with a default WordPress theme active, or Storefront.
    •  I can reproduce this bug consistently using the steps above.
  • The topic ‘_load_textdomain_just_in_time Called Incorrectly.’ is closed to new replies.