You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have scoured the theme files and cannot find what is causing this. I cannot find any mention of textdomain let alone 'domain' yet when I need to debug, my log file is full of this error.
[12-Dec-2024 23:52:59 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hello-elementor 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 /../../../public_html/wp-includes/functions.php on line 6114
The text was updated successfully, but these errors were encountered:
Thanks @rami-elementor, interestingly, when this theme files are scanned, the only instance of "textdomain" can be found in the change log text file, yet the error persists and the domain in the error is 'hello-elementor'.
Did you happen to see the Make link above your answer in #423? It suggests that __() functions triggered before init will also result in this error.
Your plugin might be _doing_it_wrong() if you for example directly call get_plugin_data() (which attempts to load translations by default) or __() without waiting for the init hook.
I have commented out the code in WordPress core that causes this problem, yeah I know cardinal sin but they provided no way to hook or filter it out and the constant chatter in my debug log (which is needed to flush out another problem) was just too much to bare. Thanks for your help with this.
I have scoured the theme files and cannot find what is causing this. I cannot find any mention of textdomain let alone 'domain' yet when I need to debug, my log file is full of this error.
[12-Dec-2024 23:52:59 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
hello-elementor
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 theinit
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /../../../public_html/wp-includes/functions.php on line 6114The text was updated successfully, but these errors were encountered: