• Resolved sachristan

    (@sachristan)


    Hi

    We get this warning (x2) in our in our Query Monitor

    Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the complianz-terms-conditions 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.)-

    1. _load_textdomain_just_in_time()
      wp-includes/l10n.php:1379
    2. get_translations_for_domain()
      wp-includes/l10n.php:1409
    3. translate()
      wp-includes/l10n.php:195
    4. __()
      wp-includes/l10n.php:307
    5. cmplz_tc_config->__construct()
      wp-content/plugins/complianz-terms-conditions/config/class-config.php:31
    6. COMPLIANZ_TC->__construct()
      wp-content/plugins/complianz-terms-conditions/complianz-terms-conditions.php:64
    7. COMPLIANZ_TC::get_instance()
      wp-content/plugins/complianz-terms-conditions/complianz-terms-conditions.php:84
    8. {closure}()
      wp-content/plugins/complianz-terms-conditions/complianz-terms-conditions.php:135
    9. do_action('plugins_loaded')
      wp-includes/plugin.php:517

    Plugin: complianz-terms-conditions

    How can we correct this?

    Thanks

    Rob

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Antonio Candela

    (@antoiub)

    Hello @sachristan ,

    Thank you for reaching out and for reporting this. We are aware of the warning, and we’re planning to address it either by merging the Terms & Conditions plugin into Complianz or by refactoring the code of the stand-alone plugin.

    In any case, please note that this PHP warning does not constitute an actual issue and won’t affect functionality. If you disable debug mode, the warning will no longer appear.

    Best regards,
    Antonio

Viewing 1 replies (of 1 total)

The topic ‘Doing it Wrong’ is closed to new replies.