_load_textdomain_just_in_time PHP warning
-
Hi there,
Just to report a warning generated by the plugin.
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
wp-mail-logging
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 /home/dev/cloudweb/byjuno/wp-includes/functions.php on line 6114It is easily fixed by adding the following line to the main wp-mail-logging.php file, replacing line 66 which contains the WPML_i18n_init() function call:
add_action('init', __NAMESPACE__ . '\WPML_i18n_init');
Best regards,
Adrian
- You must be logged in to reply to this topic.