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(215): Core\Controller\BaseController->renderTheme('index', Array)
#2 /home/areiabse/src/Relatorio/Controller/Controller.php(80): Core\Controller\BaseController->renderModuloIndex(Array)
#3 /home/areiabse/src/Relatorio/Routes.php(98): Modulo\Relatorio\Controller\Controller->indexAction(2, '1', NULL, NULL, 'relatorio-resum...')
#4 /home/areiabse/vendor/symfony/http-kernel/HttpKernel.php(158): Modulo\Relatorio\Routes->init('relatorio-resum...', Object(Symfony\Component\HttpFoundation\Request), 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/areiab in /home/areiabse/src/Core/Controller/BaseController.php on line 287