Fatal error: Uncaught Error: Call to a member function getId() on bool in /home/somatreinamentos/public_html/views/PaginaDoCurso.class.php:31 Stack trace: #0 /home/somatreinamentos/public_html/views/PaginaDoCurso.class.php(18): project\view\PaginaDoCurso->content() #1 /home/somatreinamentos/public_html/index.php(59): project\view\PaginaDoCurso->execute() #2 {main} thrown in /home/somatreinamentos/public_html/views/PaginaDoCurso.class.php on line 31