Error

Exception - Call to a member function get_courses() on null