• Artem Frolov

    (@dikiy_forester)


    Hello!

    I just want to report a minor issue.
    Our debug log is full of the following notice:

    PHP Notice: Translation loading for the sg-security 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.

    The Stack trace looks like the following:

    SG_Security\Activity_Log\Activity_Log_Unknown->log_visit, SG_Security\Activity_Log\Activity_Log_Unknown->get_visitor_type, __, translate, get_translations_for_domain, _load_textdomain_just_in_time, _doing_it_wrong...

    Best regards!

Viewing 1 replies (of 1 total)
  • Plugin Support miroslavtyurdiev

    (@miroslavtyurdiev)

    Hello @dikiy_forester,

    Thank you for reporting the PHP notice regarding the translation loading for the sg-security domain. We appreciate your attention to detail and your efforts to help us improve.

    To assist us in identifying the cause, please ensure you are using the latest version of our Security Optimizer plugin, as updates often contain fixes for known issues. This notice usually indicates translations are loading prematurely, so also consider any interactions between your theme, other plugins, or custom code that might be affecting the plugin’s behavior.

    If you have a SiteGround account, I recommend submitting a support ticket through your SiteGround dashboard. This will allow our support team to assist you more directly and efficiently.

    Best regards,
    Miroslav Tyurdiev

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.