• Resolved Bjarne Oldrup

    (@oldrup)


    Hey! Thank you for this trusted and robust plugin πŸ™‚

    I’m testing it with WordPress 6.7 RC1, WP_DEBUG enabled, and I get the following warning in the admin dashboard when enabling UpdraftPlus

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the updraftplus 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 /home/mkjqekzy/public_html/wp-includes/functions.php on line 6087

    A similar warning with maybe a hint for a resolution:

    https://github.com/pluginkollektiv/antispam-bee/issues/625

    Is that something you can reproduce?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support vupdraft

    (@vupdraft)

    Hi,

    This looks to be a bug with version of WP you are using: https://core.trac.ww.wp.xz.cn/ticket/62175

    Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    Hi Bjarne,

    I don’t get this when activating UD on WP 6.7 RC1; nor does the logging fragment at https://make.ww.wp.xz.cn/core/2024/10/21/i18n-improvements-6-7/ log anything for me when I activate. (I have WP_DEBUG set to true). So, this is likely from some other plugin you have active that hooks into the plugin activation process. Does this happen to you if UD is the *only* plugin that is active?

    David

    Thread Starter Bjarne Oldrup

    (@oldrup)

    Hi again, sorry for the late reply.

    I just tested, and yes, it when updraft is the only plugin enabled.


    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the updraftplus 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 /home/mkjqekzy/public_html/wp-includes/functions.php on line 6087

    A week ago, this post regarding the core changes and the warning was posted.:

    Internationalization improvements in 6.7

    Happens to around of one quarter of the plugins installed, though, so it might be my installation that isn’t feeling that well. I’ll try and see if I can reproduce this on a fresh installation.

    Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    Hi Bjarne,

    Since I’m not getting this message, something in your setup must trigger different parts of UpdraftPlus to what is being triggered in our testing. You should use the code fragment in the link above as an mu-plugin to get more information on the code path, and then post the result here:

    <?php
    add_action(
    'doing_it_wrong_run',
    static function ( $function_name ) {
    if ( '_load_textdomain_just_in_time' === $function_name ) {
    debug_print_backtrace();
    error_log(wp_debug_backtrace_summary());
    }
    }
    );

    Alternatively, installing the plugin “Query Monitor” should add the information to the panel in your WP dashboard so that you can read it from there.

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

The topic ‘WP 6.7; Function _load_textdomain_just_in_time was called incorrectly’ is closed to new replies.