Fatal Error When Trying to Enter WP Admin Dashboard

I get the following error after logging in and clicking the admin link to enter the WP admin dashboard:

Fatal error: Class 'BP_Friends_Friendship' not found in /home/mysite/public_html/wp-content/themes/bp-fun/functions.php on line 229

How do I correct this issue? Thanks.