Translation related notice after updating to WP 6.7
-
Hi,
After updating to WP 6.7 I’m getting this notice:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the profile-builder 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.
I notice that multiple plugins have this error after WP was updated. More info at the Make WP Core page. My site-language is non-English, debugging is turned on.
It’s because of using the?
plugin_loaded
?function in?this file. When changing this to?init
, the notice is gone. Don’t know whether you can simply change this to?init
?or not.Guido
- You must be logged in to reply to this topic.