• Resolved kaps76

    (@kaps76)


    Hi there,

    My debug.log file is overflowing with this notice. Also some other plugins have the same message but I am only including the woo one here. I am using WPML for my translations.
    I noticed that my debug.log file on the server was becoming extremely big, so I checked it and found 1000s of entries similar like this:

    [02-Jan-2025 19:10:19 UTC] 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. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u695197730/domains/weltentanzer.com/public_html/wp-includes/functions.php on line 6114

    Is this smt that needs to be fixed by woocommerce in an update?

    Regards, Kasper

Viewing 1 replies (of 1 total)
  • Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @kaps76,

    Thank you for the clarification. The message is a notice, not an error. It typically appears when you visit translated WooCommerce pages on your site and isn’t specifically related to WooCommerce itself. You may want to check in with WPML support for update on this.

    A quick walk around is to ensure that your theme, plugins, and WordPress are all up to date. Then, you can disable the notice by setting WP_DEBUG to false in your wp-config.php file. Change define('WP_DEBUG', true); to define('WP_DEBUG', false);.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.