• As soon as I activate this plugin my debug.log shows

    [05-May-2025 20:18:02 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the bp-verified-member 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 /Users/mp/Local Sites/christian-gays/app/public/wp-includes/functions.php on line 6121

    How do I fix? Thank you.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ma3ry

    (@ma3ry)

    Will this plugin ever be usable?  Is there an alternative:  My debug.log



    ) Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
    bp-verified-member 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 /Users/mp/Local Sites/christian-gays/app/public/wp-includes/functions.php on line 6121
    Call Stack Time Memory Function Location

    1 0.0039 588896 {main}( ) …/plugins.php:0
    2 0.0045 633432 require_once( '/Users/mp/Local Sites/christian-gays/app/public/wp-admin/admin.php ) …/plugins.php:10
    3 0.0047 644360 require_once( '/Users/mp/Local Sites/christian-gays/app/public/wp-load.php ) …/admin.php:35
    4 0.0049 655432 require_once( '/Users/mp/Local Sites/christian-gays/app/public/wp-config.php ) …/wp-load.php:50
    5 0.0058 768792 require_once( '/Users/mp/Local Sites/christian-gays/app/public/wp-settings.php ) …/wp-config.php:108
    6 0.4422 40090352 do_action( $hook_name = 'plugins_loaded' ) …/wp-settings.php:578
    7 0.4423 40090568 WP_Hook->do_action( $args = [0 => ''] ) …/plugin.php:517
    8 0.4423 40090568 WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) …/class-wp-hook.php:348
    9 0.7211 58315096 bp_loaded( '' ) …/class-wp-hook.php:324
    10 0.7211 58315096 do_action( $hook_name = 'bp_loaded' ) …/bp-core-dependency.php:357
    11 0.7211 58316592 WP_Hook->do_action( $args = [0 => ''] ) …/plugin.php:517
    12 0.7211 58316592 WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) …/class-wp-hook.php:348
    13 0.7389 59442560 bp_include( '' ) …/class-wp-hook.php:324
    14 0.7389 59442560 do_action( $hook_name = 'bp_include' ) …/bp-core-dependency.php:33
    15 0.7389 59442776 WP_Hook->do_action( $args = [0 => ''] ) …/plugin.php:517
    16 0.7389 59442776 WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) …/class-wp-hook.php:348
    17 0.8090 64668904 bp_verified_member_loaded( '' ) …/class-wp-hook.php:324
    18 0.8095 64752312 BP_Verified_Member_Admin->construct( ) …/bp-verified-member.php:61 19 0.8117 64877744 require( '/Users/mp/Local Sites/christian-gays/app/public/wp-content/plugins/bp-verified-member/admin/settings/class-bp-verified-member-settings.php ) …/class-bp-verified-member-admin.php:41 20 0.8118 64877840 BP_Verified_Member_Settings->__construct( ) …/class-bp-verified-member-settings.php:726 21 0.8120 64883832 esc_html( $text = 'Verified', $domain = 'bp-verified-member' ) …/class-bp-verified-member-settings.php:62
    22 0.8120 64883832 translate( $text = 'Verified', $domain = 'bp-verified-member' ) …/l10n.php:340
    23 0.8120 64883832 get_translations_for_domain( $domain = 'bp-verified-member' ) …/l10n.php:195
    24 0.8120 64883832 _load_textdomain_just_in_time( $domain = 'bp-verified-member' ) …/l10n.php:1409
    25 0.8156 64984640 _doing_it_wrong( $function_name = '_load_textdomain_just_in_time', $message = 'Translation loading for the bp-verified-member 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.', $version = '6.7.0' ) …/l10n.php:1371
    26 0.8157 64985984 wp_trigger_error( $function_name = '', $message = 'Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the bp-verified-member 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'…, $error_level = ??? ) …/functions.php:6061
    27 0.8162 64987152 trigger_error( $message = 'Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the bp-verified-member 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'…, $error_level = 1024 ) …/functions.php:6121
    Plugin Author Themosaurus

    (@themosaurus)

    Hi,

    We have just released an update (v1.2.8) which fixes these notices.

    Please note that such notices are merely informational and do not make the plugin unusable. If you are experiencing other issues where you believe the plugin does not work properly, please describe exactly what is happening so that we can take a closer look.

    Regards,

    Thread Starter ma3ry

    (@ma3ry)

    Awesome! Thank you so much! I love this plugin!

    1. I am showing on my Dashboard Verified Member for BuddyPress requires BuddyPress to be installed and activated. It was also showing before the update. BuddyPress IS installed and activated. Is there a way I can remove this notice?

    2. In my debug.log I am now showing
    [19-May-2025 16:49:47 UTC] PHP Warning: Undefined array key “bp_verified_member_display_badge_in_profile_fullname” in /Users/mp/Local Sites/christian-gays/app/public/wp-content/plugins/bp-verified-member/admin/settings/class-bp-verified-member-settings.php on line 231

    Thank you again!

    Plugin Author Themosaurus

    (@themosaurus)

    Hi,

    Thank you for bringing this to our attention.

    I suggest that you activate error logging on your website. Please keep WP_DEBUG to true and just paste the following code lines in your wp-config.php file, just before the line that says That’s all, stop editing! Happy blogging.:

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    // Disable display of errors and warnings 
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );

    More on this in the following topic: https://codex.wordpress.org/Debugging_in_WordPress

    You will still be able to consult the warnings and errors triggered by your website but these won’t appear on your pages anymore.

    Regards,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Debug log’ is closed to new replies.