Error thrown

Call to undefined function bp_is_active()