Error thrown

Call to undefined function get_current_user_id()