Doing it Wrong
-
Hello John,
Recent versions of WordPress have cause many plugins to generate warnings in the Doing it Wrong category. This plugin has been very useful in identifying the culprits and passing information to plugin authors to correct the issues. I was able to get most fixed and correct a few myself. I am left with a warning occurring on several sites that do not identify a plugin or theme, but WordPress core. I would like to know why they occuring and if possible how to fix them or prevent their display. Following are the details:Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the scf 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. (This message was added in version 6.7.0.)_load_textdomain_just_in_time()
wp-includes/l10n.php:1389get_translations_for_domain()
wp-includes/l10n.php:1419translate()
wp-includes/l10n.php:195esc_html__()
wp-includes/l10n.php:340
or
load_textdomain_just_in_time()
wp-includes/l10n.php:1381get_translations_for_domain()
wp-includes/l10n.php:1419translate()
wp-includes/l10n.php:195__()
wp-includes/l10n.php:307
WordPress core Total: 1
You must be logged in to reply to this topic.