Error thrown

Call to undefined function bp_get_profile_field_data()