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

Since WP 6.7 load_textdomain or load_textdomain_just_in_time was called incorrectly notices #115

Open
chludwig opened this issue Jan 14, 2025 · 0 comments

Comments

@chludwig
Copy link

Since WordPress v6.7 notices like this are thrown when translations are used to early in the loading sequence.

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the post-smtp 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 /app/public/wp-includes/functions.php on line 6114

So currently it is impossible to update WordPress to a version >6.2.2 when debugging and display errors is enabled (what usually should in all development and test stages).
The changes in the beta v3.0.1 don't solve the problem. For further details see https://wordpress.org/support/topic/translation-loading-for-the-post-smtp-domain-was-triggered-too-early/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant