Conversation
supportHi Danny, 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 olympus-google-fonts 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. But strangely enough you are loading it at init action . So I was not able to fix this for myself. 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. Guido
Hi again, Found it, 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
Thank you for the help debugging this @guido07111975 . I’ve now pushed a fix so the error should no longer be shown for Fonts Plugin. Let me know if I can help with anything else. Thanks again!
Hi Danny, I hereby confirm it’s fixed, thanks! Guido
Hi again, Found it, 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
Thank you for the help debugging this @guido07111975 . I’ve now pushed a fix so the error should no longer be shown for Fonts Plugin. Let me know if I can help with anything else. Thanks again!
Hi Danny, I hereby confirm it’s fixed, thanks! Guido