Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice: Function _load_textdomain_just_in_time was called incorrectly #9727

Open
Aljnk opened this issue Nov 15, 2024 · 1 comment
Open

Notice: Function _load_textdomain_just_in_time was called incorrectly #9727

Aljnk opened this issue Nov 15, 2024 · 1 comment
Labels
type: bug The issue is a confirmed bug.

Comments

@Aljnk
Copy link

Aljnk commented Nov 15, 2024

Describe the bug

. 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 .../wp-includes/functions.php on line 6114

To Reproduce

  • WP 6.7.0.
  • Other language the EN
    wp-config.php -> define('WP_DEBUG',true);define('WP_DEBUG_DISPLAY',true);@ini_set('display_errors',0);define('SCRIPT_DEBUG',true);

Actual behavior

Open any page

Desktop (please complete the following information):

  • OS: W11
  • Browser chrome (last)

Additional context

debug.log

@Aljnk Aljnk added the type: bug The issue is a confirmed bug. label Nov 15, 2024
@vbelolapotkov
Copy link
Collaborator

For the context, stack trace points to Jetpack-sync package, rather than WooPayments src code, and translation domain is from core rather than WooPayments. So probably the problem has to be solved outside WooPayments repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

2 participants