• Resolved boryana1111

    (@boryana1111)


    Hi. This message showed up on top of on my site –  “Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the albatross 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.” Called load_theme_textdomain function after_setup_theme in functions.php –>

    function albatross_load_textdomain() {
    load_theme_textdomain( 'albatross', get_template_directory() . '/languages' );
    }
    add_action( 'after_setup_theme', 'albatross_load_textdomain' );

    , but error notice is still there. Disabled all plugins to see if it will disappear – it was still showing up. All plugins are up to date. Changed the active theme – just to see wether the message will still be there – it didn’t showed up on other theme. I will appreciate ideas what could I do to resolve this. The wp version is   6.8.1. Thank you!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Eugene White

    (@eugenewhite)

    Hello there!

    Sorry to hear you faced such an issue with our Albatross theme. 

    Firstly, I want to inform you that our developers are aware of this notice, and I hope they will address it in the next theme release.

    Secondly, we have tested the theme and discovered that the only aspect affected is the language files and translations located in the \wp-content\languages\ directory. This is what the notice refers to. Everything else in the theme is functioning properly.

    Additionally, the notice only appears when the WordPress Debug mode is activated. Therefore, I recommend disabling Debug mode on your website until our developers resolve the issue.

    Thread Starter boryana1111

    (@boryana1111)

    ok, thank you!

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

The topic ‘_load_textdomain_just_in_time error’ is closed to new replies.