Viewing 1 replies (of 1 total)
  • Thread Starter bitpath

    (@bitpath)

    Hi,
    The developers at https://premium.wpmudev.org/ tracked this warning down.
    It was because the last line in ‘bp-usernames-only.php’ was:

    add_action( 'admin_bar_menu', 'ray_wp_toolbar_title', 6 );

    This replacement in ‘bp-usernames-only.php’ causes it to check if the user is logged in before trying to pull in the admin bar fix.

    if ( is_user_logged_in() ) {
    	add_action( 'admin_bar_menu', 'ray_wp_toolbar_title', 6 );
    }

    Thank you for a great and useful plugin!

Viewing 1 replies (of 1 total)
  • The topic ‘Warning: Creating default object from empty value in capabilities.php on line 65’ is closed to new replies.