Fatal error: Uncaught TypeError: escex\sophia\server\model\DiaTurma::setTurma(): Argument #1 ($turma) must be of type escex\sophia\server\model\Turma, null given, called in /var/www/html/sophia/server/dao/DiaTurmaDAO.php on line 51 and defined in /var/www/html/sophia/server/model/DiaTurma.php:183 Stack trace: #0 /var/www/html/sophia/server/dao/DiaTurmaDAO.php(51): escex\sophia\server\model\DiaTurma->setTurma() #1 /var/www/html/sophia/server/dao/DiaTurmaDAO.php(36): escex\sophia\server\dao\DiaTurmaDAO->fillObject() #2 /var/www/html/sophia/server/dao/DiaTurmaDAO.php(126): escex\sophia\server\dao\DiaTurmaDAO->fillList() #3 /var/www/html/sophia/server/dao/AtividadeEdicaoEventoDAO.php(98): escex\sophia\server\dao\DiaTurmaDAO->findAllByTurmaId() #4 /var/www/html/sophia/server/dao/AtividadeEdicaoEventoDAO.php(47): escex\sophia\server\dao\AtividadeEdicaoEventoDAO->fillObject() #5 /var/www/html/sophia/server/dao/AtividadeEdicaoEventoDAO.php(297): escex\sophia\server\dao\AtividadeEdicaoEventoDAO->fillList() #6 /var/www/html/sophia/server/facade/AtividadeEdicaoEventoFacade.php(88): escex\sophia\server\dao\AtividadeEdicaoEventoDAO->findAllByEdicaoEventoIdOrderById() #7 /var/www/html/site/evento.php(32): escex\sophia\server\facade\AtividadeEdicaoEventoFacade->findAllByEdicaoEventoIdOrderById() #8 /var/www/html/site/controller.php(97): include_once('...') #9 {main} thrown in /var/www/html/sophia/server/model/DiaTurma.php on line 183