Fatal error: Uncaught Error: Call to undefined method DateTime::toArray() in /home/areiabse/src/Core/Controller/BaseController.php:287
Stack trace:
#0 /home/areiabse/src/Core/Controller/BaseController.php(272): Core\Controller\BaseController->limparDadosView(Array, 'log')
#1 /home/areiabse/src/Core/Controller/BaseController.php(226): Core\Controller\BaseController->renderTheme('ler', Array)
#2 /home/areiabse/src/Concurso/Controller/Controller.php(96): Core\Controller\BaseController->renderModuloTheme('ler', Array)
#3 /home/areiabse/src/Concurso/Routes.php(136): Modulo\Concurso\Controller\Controller->lerAction(10)
#4 /home/areiabse/vendor/symfony/http-kernel/HttpKernel.php(158): Modulo\Concurso\Routes->ler(10, 'edital-2022-01-...', Object(Silex\Application))
#5 /home/areiabse/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#6 /home/areiabse/vendor/silex/silex/src/Silex/Application.php(496): Symfony\Component\HttpKernel\Ht in /home/areiabse/src/Core/Controller/BaseController.php on line 287