logo

logo Astuces en sucre


Une erreur est survenue

Exception: DateTime::__construct(): Failed to parse time string (xx-05-2021) at position 0 (x): The timezone could not be found in the database in /home/swale/astucesensucre/vendor/twig/twig/src/Extension/CoreExtension.php:495 Stack trace: #0 /home/swale/astucesensucre/vendor/twig/twig/src/Extension/CoreExtension.php(495): DateTime->__construct('xx-05-2021', Object(DateTimeZone)) #1 /home/swale/astucesensucre/vendor/twig/twig/src/Extension/CoreExtension.php(426): twig_date_converter(Object(Twig\Environment), 'xx-05-2021', Object(DateTimeZone)) #2 /home/swale/astucesensucre/vendor/twig/twig/src/Environment.php(358) : eval()'d code(143): twig_date_format_filter(Object(Twig\Environment), 'xx-05-2021', 'd/m/Y') #3 /home/swale/astucesensucre/vendor/twig/twig/src/Template.php(171): __TwigTemplate_9f738f67253b643f5a0c10cd27f1ae4040be0121b86a949c67756652db616c7a->block_content(Array, Array) #4 /home/swale/astucesensucre/vendor/twig/twig/src/Environment.php(358) : eval()'d code(124): Twig\Template->displayBlock('content', Array, Array) #5 /home/swale/astucesensucre/vendor/twig/twig/src/Template.php(394): __TwigTemplate_b5b0b011c5f40c3e9db92a450c06153343fd884cbd346617b4931eba4d92494f->doDisplay(Array, Array) #6 /home/swale/astucesensucre/vendor/twig/twig/src/Template.php(367): Twig\Template->displayWithErrorHandling(Array, Array) #7 /home/swale/astucesensucre/vendor/twig/twig/src/Environment.php(358) : eval()'d code(51): Twig\Template->display(Array, Array) #8 /home/swale/astucesensucre/vendor/twig/twig/src/Template.php(394): __TwigTemplate_9f738f67253b643f5a0c10cd27f1ae4040be0121b86a949c67756652db616c7a->doDisplay(Array, Array) #9 /home/swale/astucesensucre/vendor/twig/twig/src/Template.php(367): Twig\Template->displayWithErrorHandling(Array, Array) #10 /home/swale/astucesensucre/vendor/twig/twig/src/Template.php(379): Twig\Template->display(Array) #11 /home/swale/astucesensucre/vendor/twig/twig/src/TemplateWrapper.php(40): Twig\Template->render(Array, Array) #12 /home/swale/astucesensucre/vendor/twig/twig/src/Environment.php(277): Twig\TemplateWrapper->render(Array) #13 /home/swale/astucesensucre/vendor/slim/twig-view/src/Twig.php(146): Twig\Environment->render('cake.twig', Array) #14 /home/swale/astucesensucre/vendor/slim/twig-view/src/Twig.php(202): Slim\Views\Twig->fetch('cake.twig', Array) #15 /home/swale/astucesensucre/www/index.php(135): Slim\Views\Twig->render(Object(Slim\Psr7\Response), 'cake.twig', Array) #16 /home/swale/astucesensucre/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(43): {closure}(Object(Slim\Psr7\Request), Object(Slim\Psr7\Response), Array) #17 /home/swale/astucesensucre/vendor/slim/slim/Slim/Routing/Route.php(384): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Psr7\Request), Object(Slim\Psr7\Response), Array) #18 /home/swale/astucesensucre/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Slim\Routing\Route->handle(Object(Slim\Psr7\Request)) #19 /home/swale/astucesensucre/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #20 /home/swale/astucesensucre/vendor/slim/slim/Slim/Routing/Route.php(341): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #21 /home/swale/astucesensucre/vendor/slim/slim/Slim/Routing/RouteRunner.php(84): Slim\Routing\Route->run(Object(Slim\Psr7\Request)) #22 /home/swale/astucesensucre/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(59): Slim\Routing\RouteRunner->handle(Object(Slim\Psr7\Request)) #23 /home/swale/astucesensucre/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\RoutingMiddleware->process(Object(Slim\Psr7\Request), Object(Slim\Routing\RouteRunner)) #24 /home/swale/astucesensucre/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(107): class@anonymous->handle(Object(Slim\Psr7\Request)) #25 /home/swale/astucesensucre/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\ErrorMiddleware->process(Object(Slim\Psr7\Request), Object(class@anonymous)) #26 /home/swale/astucesensucre/vendor/slim/twig-view/src/TwigMiddleware.php(125): class@anonymous->handle(Object(Slim\Psr7\Request)) #27 /home/swale/astucesensucre/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Views\TwigMiddleware->process(Object(Slim\Psr7\Request), Object(class@anonymous)) #28 /home/swale/astucesensucre/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): class@anonymous->handle(Object(Slim\Psr7\Request)) #29 /home/swale/astucesensucre/vendor/slim/slim/Slim/App.php(215): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #30 /home/swale/astucesensucre/vendor/slim/slim/Slim/App.php(199): Slim\App->handle(Object(Slim\Psr7\Request)) #31 /home/swale/astucesensucre/www/index.php(139): Slim\App->run() #32 {main} Next Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("DateTime::__construct(): Failed to parse time string (xx-05-2021) at position 0 (x): The timezone could not be found in the database"). in /home/swale/astucesensucre/templates/cake.twig:37 Stack trace: #0 /home/swale/astucesensucre/vendor/twig/twig/src/Environment.php(358) : eval()'d code(124): Twig\Template->displayBlock('content', Array, Array) #1 /home/swale/astucesensucre/vendor/twig/twig/src/Template.php(394): __TwigTemplate_b5b0b011c5f40c3e9db92a450c06153343fd884cbd346617b4931eba4d92494f->doDisplay(Array, Array) #2 /home/swale/astucesensucre/vendor/twig/twig/src/Template.php(367): Twig\Template->displayWithErrorHandling(Array, Array) #3 /home/swale/astucesensucre/vendor/twig/twig/src/Environment.php(358) : eval()'d code(51): Twig\Template->display(Array, Array) #4 /home/swale/astucesensucre/vendor/twig/twig/src/Template.php(394): __TwigTemplate_9f738f67253b643f5a0c10cd27f1ae4040be0121b86a949c67756652db616c7a->doDisplay(Array, Array) #5 /home/swale/astucesensucre/vendor/twig/twig/src/Template.php(367): Twig\Template->displayWithErrorHandling(Array, Array) #6 /home/swale/astucesensucre/vendor/twig/twig/src/Template.php(379): Twig\Template->display(Array) #7 /home/swale/astucesensucre/vendor/twig/twig/src/TemplateWrapper.php(40): Twig\Template->render(Array, Array) #8 /home/swale/astucesensucre/vendor/twig/twig/src/Environment.php(277): Twig\TemplateWrapper->render(Array) #9 /home/swale/astucesensucre/vendor/slim/twig-view/src/Twig.php(146): Twig\Environment->render('cake.twig', Array) #10 /home/swale/astucesensucre/vendor/slim/twig-view/src/Twig.php(202): Slim\Views\Twig->fetch('cake.twig', Array) #11 /home/swale/astucesensucre/www/index.php(135): Slim\Views\Twig->render(Object(Slim\Psr7\Response), 'cake.twig', Array) #12 /home/swale/astucesensucre/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(43): {closure}(Object(Slim\Psr7\Request), Object(Slim\Psr7\Response), Array) #13 /home/swale/astucesensucre/vendor/slim/slim/Slim/Routing/Route.php(384): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Psr7\Request), Object(Slim\Psr7\Response), Array) #14 /home/swale/astucesensucre/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Slim\Routing\Route->handle(Object(Slim\Psr7\Request)) #15 /home/swale/astucesensucre/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #16 /home/swale/astucesensucre/vendor/slim/slim/Slim/Routing/Route.php(341): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #17 /home/swale/astucesensucre/vendor/slim/slim/Slim/Routing/RouteRunner.php(84): Slim\Routing\Route->run(Object(Slim\Psr7\Request)) #18 /home/swale/astucesensucre/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(59): Slim\Routing\RouteRunner->handle(Object(Slim\Psr7\Request)) #19 /home/swale/astucesensucre/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\RoutingMiddleware->process(Object(Slim\Psr7\Request), Object(Slim\Routing\RouteRunner)) #20 /home/swale/astucesensucre/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(107): class@anonymous->handle(Object(Slim\Psr7\Request)) #21 /home/swale/astucesensucre/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\ErrorMiddleware->process(Object(Slim\Psr7\Request), Object(class@anonymous)) #22 /home/swale/astucesensucre/vendor/slim/twig-view/src/TwigMiddleware.php(125): class@anonymous->handle(Object(Slim\Psr7\Request)) #23 /home/swale/astucesensucre/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Views\TwigMiddleware->process(Object(Slim\Psr7\Request), Object(class@anonymous)) #24 /home/swale/astucesensucre/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): class@anonymous->handle(Object(Slim\Psr7\Request)) #25 /home/swale/astucesensucre/vendor/slim/slim/Slim/App.php(215): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #26 /home/swale/astucesensucre/vendor/slim/slim/Slim/App.php(199): Slim\App->handle(Object(Slim\Psr7\Request)) #27 /home/swale/astucesensucre/www/index.php(139): Slim\App->run() #28 {main}


© 2021 Astuces en sucre. Fait par Claire avec ❤️