• Resolved zabarabab

    (@zabarabab)


    I get wpcli warnings after plugin activation:


    sudo -u wpcli wp plugin activate all-in-one-wp-migration
    Plugin ‘all-in-one-wp-migration’ activated.
    Success: Activated 1 of 1 plugins.
    wptesting:/srv/wordpress$ sudo -u wpcli wp –help
    PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the all-in-one-wp-migration 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 /srv/wordpress/wp-includes/functions.php on line 6131
    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the all-in-one-wp-migration 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 /srv/wordpress/wp-includes/functions.php on line 6131

Viewing 1 replies (of 1 total)
  • Plugin Author Yani

    (@yaniiliev)

    Hi zabarabab,

    I hope you are well.

    This is a cosmetic notice introduced in WordPress 6.7 and does not affect the plugin’s functionality. It appears specifically in WP-CLI context because the plugin registers its CLI command during plugins_loaded, which triggers translation loading before the init action.

    This notice is harmless and can be safely ignored. We are aware of it and plan to address it in a future release.

    If you’d like to suppress the notice in the meantime, you can add –quiet to your WP-CLI commands or set WP_DEBUG to false in your wp-config.php.

    In the meantime, we will check what we can improve in the plugin to resolve this.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.