• Hello,

    After recent WordPress 6.7.1 update I’m getting this PHP warning:

    Notice: Function _load_textdomain_just_in_time was called incorrectly.
    Translation loading for the login-designer 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 ./wp-includes/functions.php on line 6114

    Here is Caller debug info from Query Monitor plugin:

    _load_textdomain_just_in_time()
    wp-includes/l10n.php:1378
    get_translations_for_domain()
    wp-includes/l10n.php:1408
    translate()
    wp-includes/l10n.php:194
    esc_html__()
    wp-includes/l10n.php:339
    Login_Designer_Theme_Template->__construct()
    wp-content/plugins/login-designer/includes/class-login-designer-theme-template.php:62
    Login_Designer_Theme_Template::get_instance()
    wp-content/plugins/login-designer/includes/class-login-designer-theme-template.php:39
    do_action('plugins_loaded')
    wp-includes/plugin.php:517

    This issue is happening on non-default language WordPress installation (you should be able to replicate the notice by installing British English, for example).

    Thank you in advance for fixing this issue!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Muhammad Usama Azad

    (@usamaazad99)

    Hi @webmandesign ,

    I hope you are doing well,

    Thank you for contacting WP Experts Support Team. We have fixed this issue in our updated Plugin. Please download the updated plugin from the link below and reinstall it on your website after deleting the previous version:

    Download Now

    After installing the updated plugin, we would greatly appreciate your feedback. Your input will help us finalize the beta version and release the fixes to all users as soon as possible.

    If you encounter any further issues or have any questions, please don’t hesitate to reach out. We’re here to help.

    Best regards,
    WP Experts Support Team

    Thread Starter WebMan Design | Oliver Juhas

    (@webmandesign)

    Hi,

    Sorry guys, but after downloading and installing the plugin version 1.6.5 the issue still persist.

    The “Caller” data from Query Monitor plugin now says:

    _load_textdomain_just_in_time()
    wp-includes/l10n.php:1378
    get_translations_for_domain()
    wp-includes/l10n.php:1408
    translate()
    wp-includes/l10n.php:194
    esc_html__()
    wp-includes/l10n.php:339
    Login_Designer_Theme_Template->__construct()
    wp-content/plugins/login-designer/includes/class-login-designer-theme-template.php:62
    Login_Designer_Theme_Template::get_instance()
    wp-content/plugins/login-designer/includes/class-login-designer-theme-template.php:39
    do_action('plugins_loaded')
    wp-includes/plugin.php:517

    I’m testing on WordPress 6.7.1 with Slovak (sk_SK) localization.

    Plugin Support Muhammad Usama Azad

    (@usamaazad99)

    Hi @webmandesign ,

    I hope you’re doing well!

    I’m happy to inform you that we’ve released an update for the Login Designer plugin today, which includes the fix you requested. You can easily update the plugin from your WordPress dashboard.

    Once you’ve updated to the latest version, we would greatly appreciate your feedback to help us continue improving the plugin.

    Thanks and regards,
    WP Experts Support Team

    Thread Starter WebMan Design | Oliver Juhas

    (@webmandesign)

    Hi @usamaazad99,

    Thank you for the update. Everything seems to be working OK now.

    Best regards,

    Oliver

    Plugin Support Muhammad Usama Azad

    (@usamaazad99)

    Hi @webmandesign ,

    I hope you are doing well,

    Thanks for your feedback. We are marking this ticket as resolved. If you encounter any further issues, please feel free to open a new ticket.

    Have a great day!

    Thanks & regards,
    Support Team – WP Experts

    Hi,

    I still have the problem with last version of your plugin :

    https://prnt.sc/DrNppwOJHRhg

    Appelant Composant
    La fonction load_textdomain_just_in_time a été appelée de façon incorrecte. Translation loading for the login-designer 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. (Ce message a été ajouté à la version 6.7.0.) _load_textdomain_just_in_time() wp-includes/l10n.php:1378 get_translations_for_domain() wp-includes/l10n.php:1408 translate() wp-includes/l10n.php:194 esc_html_()
    wp-includes/l10n.php:339
    Login_Designer_Theme_Template->__construct()
    wp-content/plugins/login-designer/includes/class-login-designer-theme-template.php:62
    Login_Designer_Theme_Template::get_instance()
    wp-content/plugins/login-designer/includes/class-login-designer-theme-template.php:39
    do_action(‘plugins_loaded’)
    wp-includes/plugin.php:517
    Extension : login-designer

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

The topic ‘`_load_textdomain_just_in_time` PHP notice’ is closed to new replies.