• Resolved smartstak

    (@richeal)


    Function loadtextdomain_just_in_time was called incorrectly. Translation loading for the simple-301-redirects 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.).

    It happens when we ‘init’ action with priority of 1 or early.

    Solution: For those, who face this issue.
    \simple-301-redirects.2.0.11\simple-301-redirects\includes\Admin.php

    In Admin.php,

     $tracker->set_notice_options(array(

                ‘notice’ => __( ‘Want to help make <strong>Simple 301 Redirects</strong> even more awesome? You can get a <strong>10% discount</strong> coupon on our Premium products if you allow us to track the non-sensitive usage data.’, ‘simple-301-redirects’ ),

                ‘extra_notice’ => __( ‘We collect non-sensitive diagnostic data and plugin usage information.

                Your site URL, WordPress & PHP version, plugins & themes and email address to send you the

                discount coupon. This data lets us make sure this plugin always stays compatible with the most

                popular plugins and themes. No spam, I promise.’, ‘simple-301-redirects’ ),

    ? ? ? ? ));

    REMOVE TRANSLATION OF TEXT – __()
    ===================
    ?$tracker->set_notice_options(array(

    ? ? ? ? ? ? ‘notice’ =>’Want to help make <strong>Simple 301 Redirects</strong> even more awesome? You can get a <strong>10% discount</strong> coupon on our Premium products if you allow us to track the non-sensitive usage data.’,

    ? ? ? ? ? ? ‘extra_notice’ => ‘We collect non-sensitive diagnostic data and plugin usage information.

                Your site URL, WordPress & PHP version, plugins & themes and email address to send you the

                discount coupon. This data lets us make sure this plugin always stays compatible with the most

    ? ? ? ? ? ? popular plugins and themes. No spam, I promise.’,

            ));

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Pial

    (@iapial)

    Hello there

    Thank you for bringing this to our attention. The notice you’re seeing is related to the _load_textdomain_just_in_time function, which triggers when translation files are loaded too early in the plugin’s lifecycle. This typically occurs when certain actions are executed before the init hook in WordPress, as outlined in the Debugging in WordPress guide.

    Please rest assured, this notice does not affect the functionality of the plugin and is only visible when WP_DEBUG is enabled. However, we understand the importance of keeping your environment error-free. We’ll review this promptly and issue a release to address it. Kindly note that since Simple 301 Redirects has a more limited feature update schedule, most updates focus on security and critical improvements.

    In the meantime, I recommend exploring BetterLinks—our advanced URL management tool. It offers robust features to shorten, track, and manage links seamlessly. Plus, if you have a substantial number of existing links, you can easily migrate them to BetterLinks without any hassle.

    You can find comprehensive documentation here to help you get started.

    Feel free to reach out if you have any further questions!

    Best regards,
    Pial

    Plugin Support Pial

    (@iapial)

    Hello again

    Hope you are doing well.

    About your issue, We still haven’t heard back from you. So, I am assuming your issue has been resolved. I am resolving this topic.

    Have a nice day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Translation loading issue’ is closed to new replies.