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" #76

Open
remcotolsma opened this issue Jan 16, 2025 · 0 comments · May be fixed by #77
Open

Notice "Function _load_textdomain_just_in_time was called incorrectly" #76

remcotolsma opened this issue Jan 16, 2025 · 0 comments · May be fixed by #77
Assignees

Comments

@remcotolsma
Copy link
Member

Since WordPress 6.7 the following PHP notices are triggered when text domains are loaded before the init action:

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

This has also been reported in https://wordpress.org/support/topic/function-_load_textdomain_just_in_time-was-called-incorrectly-69/.

See https://make.wordpress.org/core/2024/10/21/i18n-improvements-6-7/ for further explanation.

@remcotolsma remcotolsma self-assigned this Jan 16, 2025
remcotolsma added a commit to pronamic/wp-pronamic-pay that referenced this issue Jan 16, 2025
remcotolsma added a commit to pronamic/wp-pronamic-pay-with-mollie-for-woocommerce that referenced this issue Jan 16, 2025
remcotolsma added a commit to pronamic/pronamic-pay-with-rabo-smart-pay-for-woocommerce that referenced this issue Jan 16, 2025
@remcotolsma remcotolsma linked a pull request Jan 16, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant