Symfony\Component\Debug\Exception\ContextErrorException: Catchable Fatal Error: Object of class DateTime could not be converted to string in /var/www/nopriz/releases/20210421122544/vendor/jms/serializer/src/JMS/Serializer/JsonSerializationVisitor.php:45 Stack trace: #0 /var/www/nopriz/releases/20210421122544/vendor/jms/serializer/src/JMS/Serializer/GraphNavigator.php(119): JMS\Serializer\JsonSerializationVisitor->visitString(Object(DateTime), Array, Object(JMS\Serializer\SerializationContext)) #1 /var/www/nopriz/releases/20210421122544/vendor/jms/serializer/src/JMS/Serializer/JsonSerializationVisitor.php(145): JMS\Serializer\GraphNavigator->accept(Object(DateTime), Array, Object(JMS\Serializer\SerializationContext)) #2 /var/www/nopriz/releases/20210421122544/vendor/jms/serializer/src/JMS/Serializer/GraphNavigator.php(248): JMS\Serializer\JsonSerializationVisitor->visitProperty(Object(JMS\Serializer\Metadata\PropertyMetadata), Object(TB\RegisterBundle\Repository\BaseData\MemberData), Object(JMS\Serializer\SerializationContext)) #3 /var/www/nopriz/releases/20210421122544/vendor/jms/serializer/src/JMS/Serializer/Serializer.php(177): JMS\Serializer\GraphNavigator->accept(Object(TB\RegisterBundle\Repository\BaseData\MemberData), Array, Object(JMS\Serializer\SerializationContext)) #4 /var/www/nopriz/releases/20210421122544/vendor/jms/serializer/src/JMS/Serializer/Serializer.php(96): JMS\Serializer\Serializer->visit(Object(JMS\Serializer\JsonSerializationVisitor), Object(JMS\Serializer\SerializationContext), Object(TB\RegisterBundle\Repository\BaseData\MemberData), 'json', NULL) #5 /var/www/nopriz/releases/20210421122544/vendor/phpoption/phpoption/src/PhpOption/Some.php(102): JMS\Serializer\Serializer->JMS\Serializer\{closure}(Object(JMS\Serializer\JsonSerializationVisitor)) #6 /var/www/nopriz/releases/20210421122544/vendor/jms/serializer/src/JMS/Serializer/Serializer.php(99): PhpOption\Some->map(Object(Closure)) #7 /var/www/nopriz/releases/20210421122544/src/TB/AdminBundle/Controller/StatementController.php(163): JMS\Serializer\Serializer->serialize(Object(TB\RegisterBundle\Repository\BaseData\MemberData), 'json') #8 /var/www/nopriz/releases/20210421122544/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(151): TB\AdminBundle\Controller\StatementController->downloadWithSigAction(Object(TB\RegisterBundle\Repository\BaseData\MemberData)) #9 /var/www/nopriz/releases/20210421122544/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #10 /var/www/nopriz/releases/20210421122544/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(169): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #11 /var/www/nopriz/releases/20210421122544/web/app.php(18): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #12 {main}