• After upgrading to WordPress 6.7, I see that the site is generating a warning message for every hit:

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the members 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. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /www/securedev1_768/public/wp-includes/functions.php on line 6114

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author jarekk

    (@jarekk)

    Hi David,

    Thank you for reporting this. Our developer will work on fixing this issue.

    Best

    Any news?

    ??

    • This reply was modified 9 hours, 52 minutes ago by brisring.

    The issue is ultimately caused because the plugin initialization code tries to load translated strings:

      /www/1_768/public/wp-blog-header.php 13 calling require_once("\/www\/1_768\/public\/wp-load.php")
    /www/1_768/public/wp-load.php 50 calling require_once("\/www\/1_768\/public\/wp-config.php")
    /www/1_768/public/wp-config.php 136 calling require_once("\/www\/1_768\/public\/wp-settings.php")
    /www/1_768/public/wp-settings.php 526 calling include_once("\/www\/1_768\/public\/wp-content\/plugins\/members\/members.php")
    /www/1_768/public/wp-content/plugins/members/members.php 487 calling members_plugin()
    /www/1_768/public/wp-content/plugins/members/members.php 483 calling get_instance()
    /www/1_768/public/wp-content/plugins/members/members.php 95 calling includes()
    /www/1_768/public/wp-content/plugins/members/members.php 209 calling require_once("\/www\/1_768\/public\/wp-content\/plugins\/members\/inc\/functions-users.php")
    /www/1_768/public/wp-content/plugins/members/inc/functions-users.php 14 calling members_explicitly_deny_caps()
    /www/1_768/public/wp-content/plugins/members/inc/functions-options.php 35 calling members_get_setting("explicit_denied_caps")
    /www/1_768/public/wp-content/plugins/members/inc/functions-options.php 107 calling members_get_default_settings()
    /www/1_768/public/wp-content/plugins/members/inc/functions-options.php 132 calling esc_html__("Sorry, but you do not have permission to view this content.", "members")
    /www/1_768/public/wp-includes/l10n.php 339 calling translate("Sorry, but you do not have permission to view this content.", "members")
    /www/1_768/public/wp-includes/l10n.php 194 calling get_translations_for_domain("members")
    /www/1_768/public/wp-includes/l10n.php 1408 calling _load_textdomain_just_in_time("members")
    /www/1_768/public/wp-includes/l10n.php 1370 calling _doing_it_wrong("_load_textdomain_just_in_time", "Function _load_textdomain_just_in_time was called <strong>incorrectly<\/strong>. Translation loading for the <code>members<\/code> 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 <code>init<\/code> action or later. Please see <a href=\"https:\/\/developer.www.remarpro.com\/advanced-administration\/debug\/debug-wordpress\/\">Debugging in WordPress<\/a> for more information. (This message was added in version 6.7.0.)", "(This message was added in version 6.7.0.)")
    in <b>/www/1_768/public/wp-includes/functions.php</b> on line <b>6160</b><br />

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