• Hello,

    As you can see on zen10.unimore.it, when spacious theme is activated this error message appears:


    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the spacious 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. 

    The plugins are all disabled and when I switch to another theme the error disappears.
    Any suggestions to fix this error?
    Thanx.

    Paolo

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @albericip,

    These PHP notices appear because some of your plugins are not compatible with changes in WordPress 6.7.x. To solve this you can:

    Install all pending updates.
    Disable the output of PHP notices. This either happens because your WordPress is running in debug mode OR your hosting is outputting PHP errors.

    Let me know if it works for you or not, and I’ll get back to you.

    Regards!

    Hi @rohitkc32! I’m experiencing the same error, which is:

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the spacious 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 /hermes/bosnacweb05/bosnacweb05be/b991/nf.peterdrewvo/public_html/WP_newpeterdrewvo/wp-includes/functions.php on line 6121

    I disabled all of my plugins, except the audio player plugin because it’s a pain to configure, but the error message still appears at the top of my site on all pages. I didn’t switch themes as albericip did because I’m afraid of what might happen to my site if I did that. I’m pretty sure I’d find the same thing albericip did: error with Spacious, no error with another theme.

    To be honest, I’ve neglected my website for a while, I haven’t been into WordPress recently and I’m a bit rusty getting around it. Would you be so kind as to direct me to where in WordPress I can disable the output of PHP notices, and where I can disable debug mode, if it’s on, or figure out if my hosting is outputting PHP errors?

    Thanks very much,

    Peter

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘spacious theme error on WP 6.7.2’ is closed to new replies.