Calling the translation function too early
-
It looks like your plugin is calling the translation function (likely
load_plugin_textdomain()or_load_textdomain_just_in_time) before theinitaction hook. See error below. Can you look into this?PHP Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>checkout-plugins-stripe-woo</code> 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 <code>init</code> action or later. Please see <a href=”https://developer.ww.wp.xz.cn/advanced-administration/debug/debug-wordpress/”>Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /wp-includes/functions.php on line 6121
The topic ‘Calling the translation function too early’ is closed to new replies.