Erro

Exceção - Call to a member function get_courses() on null