Error thrown

Call to undefined function bbp_logged_in_redirect()