Early Translation Loading Issue with Login Customizer
-
Dear Login Customizer Support Team,
I’ve noticed an issue with your plugin in my development environment. Here are the details:
- Environment:
- WordPress: 6.8 Beta
- WooCommerce: 9.9.0
- Server: Apache2
- PHP: 8.4.4
Error Log:
[13-Mar-2025 16:30:35 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the login-customizer 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.) in X:\xampp\www\site\wp-includes\functions.php on line 6121
- Stack Trace Summary:
The issue arises inInclude_Page_Template.php:67duringLoginCustomizerTemplate->__construct(), triggered viawp-settings.php. - Issue:
The plugin is loading translations too early, before theinithook, causing this notice in WordPress 6.8 Beta. This might be a compatibility issue with WordPress 6.7.0+.
Can you advise if this is a known problem or suggest how to delay translation loading until the
inithook? Any help would be greatly appreciated.Thank you
The topic ‘Early Translation Loading Issue with Login Customizer’ is closed to new replies.