Problème avec la date lors de la création d'une annonce
Lors de la création d'une annonce avec une date (par exemple voiture), on a cette erreur :
request.CRITICAL: Uncaught PHP Exception Twig_Error_Runtime: "An exception has been thrown during the rendering of a template ("Catchable Fatal Error: Object of class DateTime could not be converted to string")." at /home/www/petitecolo/prod/releases/20190129164147/app/Resources/views/annonce/show.html.twig line 229 {"exception":"[object] (Twig_Error_Runtime(code: 0): An exception has been thrown during the rendering of a template ("Catchable Fatal Error: Object of class DateTime could not be converted to string"). at /home/www/petitecolo/prod/releases/20190129164147/app/Resources/views/annonce/show.html.twig:229, ErrorException(code: 0): Catchable Fatal Error: Object of class DateTime could not be converted to string at /home/www/petitecolo/prod/releases/20190129164147/var/cache/prod/twig/e0/e046143785df0ec4ebc6078c0cc4b775a7e75df500a4a96d5bf29c2f36b7a3dc.php:578)"} []