Issue with Translation Loading in WP-Optimize
-
Description:
I am encountering regular PHP notices in the WordPress debug log related to WP-Optimize. The notices indicate that the translation domain is being loaded too early, which causes issues. Below are the details of the errors.Error Details:
[22-Nov-2024 15:17:24 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for thewp-optimizedomain 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 theinitaction or later. Please see https://developer.ww.wp.xz.cn/advanced-administration/debug/debug-wordpress/ for more information. (This message was added in version 6.7.0.) in /wp-includes/functions.php on line 6114[22-Nov-2024 15:17:38 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for thewp-optimizedomain 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 theinitaction or later. Please see https://developer.ww.wp.xz.cn/advanced-administration/debug/debug-wordpress/ for more information. (This message was added in version 6.7.0.) in /wp-includes/functions.php on line 6114Environment Details:
- WP-Optimize Version: 3.7.0
- WordPress Version: 6.7.1
- PHP Version: 8.2.25
- Server: Apache/2.4.58 (Ubuntu)
- Debug Mode: Enabled
Steps Taken:
- Verified all plugins and WordPress are updated to the latest versions.
- Reviewed the WordPress documentation regarding debugging and translation loading.
Request for Assistance:
Could you please provide guidance on resolving this issue? If any additional steps or testing are required, I’m happy to assist.Thank you for your help.
The topic ‘Issue with Translation Loading in WP-Optimize’ is closed to new replies.