• When setting debug to “true” in the wp-config.php file, I see this error message:

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the [theme name] 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. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in \app\public\wp-includes\functions.php on line 6121

    I can’t provide a link to the site because it’s local

    • This topic was modified 7 months, 2 weeks ago by tech2025.
Viewing 1 replies (of 1 total)
  • Moderator threadi

    (@threadi)

    These PHP notice (not errors) on your screen appear because your theme not compatible with changes in WordPress 6.7.x (and newer). To solve this you can do one or all of:

    • Install all pending updates. The theme developers may have already provided a fix.
    • Disable the output of PHP notices. This either happens because your WordPress is running in debug mode OR your hosting is outputting PHP errors. The support of your hoster might help here.
    • Or downgrade to WordPress 6.6.2 and then wait some time until you go back to 6.8.x until the theme developers have caught up.
    • Or simply wait until the theme developers make changes in this regard. You might want to contact their support.

    See also the information from the core developers about the upcoming changes for theme developers from a year ago: https://make.wordpress.org/core/2024/10/21/i18n-improvements-6-7/

Viewing 1 replies (of 1 total)

The topic ‘Debug message – _load_textdomain_just_in_time being called incorrectly’ is closed to new replies.