• Resolved adaml4458

    (@adaml4458)


    Hi, getting this error repeatedly every so many seconds:

    PHP 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. (This message was added in version 6.7.0.) in /public_html/wp-includes/functions.php

    I am struggling to find how to fic this, please can you offer any help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    I understand your concern. The issue has already been fixed in the new versions. Could you please make sure you’re using the latest version of WooCommerce (9.7.1) and also ensure that all your plugins are up to date?

    In the meantime, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    • System Status Report which you can find via WooCommerce > Status

    Please use https://pastebin.com/ or https://gist.github.com/ and share a link to that paste in reply here. Once we have more information, we’ll be able to assist you further

    Thread Starter adaml4458

    (@adaml4458)

    Hi

    I am using the latest version of woocommerce.

    The system report can be found here: https://pastebin.com/xiaxHPiC

    Hi @adaml4458,

    This is a known issue and is actively being tracked here: https://github.com/woocommerce/woocommerce/issues/52646. It stems from recent changes in how WordPress handles translations. While this isn’t technically an error—it’s just a notice—you can hide it from displaying on your site by adjusting your wp-config.php file.

    Add the following lines to the end of your wp-config.php file:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
    

    This setup will log errors and notices to a debug.log file in your /wp-content/ directory, without showing them on your site. The WooCommerce team is actively monitoring the issue and working on ongoing improvements.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP error notice’ is closed to new replies.