• Resolved moghaddamhreza

    (@e12ror)


    Hi, I have been using your plugin for a few month. I just thought that I should notify you of this issue:

    Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woo-wallet 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. (This message was added in version 6.7.0.)

Viewing 1 replies (of 1 total)
  • ibtekarlabs

    (@ibtekarlabs)

    Hi,

    Had same issue, modified the plugin code temporary until its fixed in future updates.

    just delay the WooWallet::instance() call until plugins loaded

    In woo-wallet.php

    replace:

    $GLOBALS['woo_wallet'] = woo_wallet();

    with:

    add_action('init', function () {
    $GLOBALS['woo_wallet'] = woo_wallet();
    });


Viewing 1 replies (of 1 total)

The topic ‘_load_textdomain_just_in_time()’ is closed to new replies.