Fatal error

I recently upgraded to the latest versions of wordpress and the social theme and now it seems there is a fatal error on the signup page:

Fatal error: Call to undefined function bp_current_user_can() in /home/ponsey/public_html/hawaiiathlete.com/wp-content/themes/bp-social/registration/register.php on line 157

This is what it is defined on line 157:

<?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?>

Before I upgraded this worked fine. I am not a coder and do not know what went wrong. Please advise. Thanks.