• Resolved Fantou

    (@fantou)


    Hello

    Query Monitor informs me about this alert : Translation loading for the ad-inserter 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.

    Is there a way to solve this ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Spacetime

    (@spacetime)

    Hello,

    can you please describe steps to reproduce this alert?

    Thread Starter Fantou

    (@fantou)

    Hello @spacetime , thanks for your quick reply

    It’s just Query Monitor (or if I enable WP_Debug ) that I see this alert. Here is more information with Query Monitor if it can help :
    _load_textdomain_just_in_time()
    wp-includes/l10n.php:1378
    get_translations_for_domain()
    wp-includes/l10n.php:1408
    translate_with_gettext_context()
    wp-includes/l10n.php:261
    _x()
    wp-includes/l10n.php:409
    ai_load_settings()
    wp-content/plugins/ad-inserter/ad-inserter.php:7373

    Plugin Author Spacetime

    (@spacetime)

    I’m sorry but I can’t reproduce it. Tested with the latest plugin and WP 6.7.1. Will do some more tests.

    Thread Starter Fantou

    (@fantou)

    Ok thanks. Further information : I’m running in french langage

    Plugin Author Spacetime

    (@spacetime)

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.