• Resolved svenms

    (@svenms)


    Hello,

    I’m getting a loooot of Debug logs with:

    [Loco.debug] “The “hstngr_widget_domain” text domain isn’t loaded. “es_ES” translations may fail” in src/hooks/LoadHelper.php:207


    [Loco.debug] “> (“Hostinger Widget Tutorial”,”hstngr_widget_domain”) called” in ../../themes/flatsome-child/functions.php:1383 [08-May-2024 14:30:24 America/Santiago] [Loco.debug] “The ” hstngr_widget_domain” text domain isn’t loaded. “es_ES” translations may fail” in src/hooks/LoadHelper.php:207 [08-May-2024 14:30:24 America/Santiago]

    [Loco.debug] “> (“Filtros De Chile Vapo”,” hstngr_widget_domain”) called” in ../../themes/flatsome-child/functions.php:1381

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tim W

    (@timwhitlock)

    This message appears when translations are requested when no text domain is loaded for the current locale. The only way to disable this warning is to disable WP_DEBUG.

    Thread Starter svenms

    (@svenms)

    Previous version does not have this message right?

    Plugin Author Tim W

    (@timwhitlock)

    Previous version does not have this message right?

    Correct.

    This was added to try and help people debug the extremely common problem of translations not working.

    i know it only appears when WP_DEBUG is true, but some hostings force the disk writing of the log even if wpdebug is off

    The code in my plugin that produces these messages explicitly checks WP_DEBUG before executing. If this value is false, they will not log.

    Thread Starter svenms

    (@svenms)

    Yes please, add this message as an Option in the plugin.

    Debug gets huuuge

    Plugin Author Tim W

    (@timwhitlock)

    The dev version has these traces moved to action hooks.

    This should go live tomorrow, but if you want a quick fix, install the trunk.

    Same thing here in my dev environment, a huge log file, tomorrow will be disabled by default? or you will add a filter hook to disable it?

    thanks!

    Plugin Author Tim W

    (@timwhitlock)

    Nothing will be logged by default. I’ll hook into the actions in a separate debugger.

    Please try the dev version and see for yourself.

    The lack of people running the dev version is what leads to unpopular updates in the stable release. Zero feedback until it’s published, then my inbox blows up.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘text domain isn’t loaded .. translations may fail’ is closed to new replies.