-
Notifications
You must be signed in to change notification settings - Fork 48
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
PHP Notice _load_textdomain_just_in_time was called incorrectly #70
Comments
Thanks @cannobbio, fixed 7fb9556 |
Hi, I'm afraid I'm still getting this warning even after the fix |
I've created the following pull request to address this problem. |
I can confirm @muriukip patch fixes the Also, there is no need to use
|
@bolorino, can you explain why the code is not needed anymore? WP will now automatically call load_plugin_textdomain for plugins? Sorry been out of the community for too long lol. |
Sure @lesterchan
https://make.wordpress.org/core/2024/10/21/i18n-improvements-6-7/ 🙂 |
Wow since WP 4.6, is a TIL for me! Thanks for the tip. I will remove them. |
I have released 2.94.3, hopefully it fixes this issue, thank you guys! |
Hey guys, I have to revert to use plugins_loaded as it is breaking widgets from being loaded. I think removing load_plugin_textdomain should already fixed the issue |
WordPress 6.7 update PHP Notice:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-pagenavi 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
wp-pagenavi/wp-pagenavi.php
Line 15 in 4444f9f
Possible fix:
Thank You!
The text was updated successfully, but these errors were encountered: