Plugin and code

HI there

I am getting this when I log into my profile and any other profile that is logged in...

Fatal error: Cannot access empty property in /home/content/47/8981747/html/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 823

The profile seem fine if that user isnt logged in?