Error thrown

Call to undefined function bp_is_activity_component()