Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function format() on null in /home/fristyle/www/fri-style.ch/releases/20170629085121/src/AppBundle/Twig/Extension/FristyleExtension.php:153 Stack trace: #0 /home/fristyle/www/fri-style.ch/releases/20170629085121/var/cache/prod/twig/fc/fcc68328adebe0a19ae2893f208267bb105569df0c1bfcd8827994d4cecb396b.php(35): AppBundle\Twig\Extension\FristyleExtension->formattedFromToDate(Object(DateTime), NULL) #1 /home/fristyle/www/fri-style.ch/releases/20170629085121/var/cache/prod/classes.php(814): __TwigTemplate_d74c012560c685c9dda8a7b3b68a332bb4ff523771f5f1ed99ec577411089c89->doDisplay(Array, Array) #2 /home/fristyle/www/fri-style.ch/releases/20170629085121/var/cache/prod/classes.php(790): Twig_Template->displayWithErrorHandling(Array, Array) #3 /home/fristyle/www/fri-style.ch/releases/20170629085121/var/cache/prod/classes.php(797): Twig_Template->display(Array) #4 /home/fristyle/www/fri-style.ch/releases/20170629085121/vendor/symfony/symfony in /home/fristyle/www/fri-style.ch/releases/20170629085121/src/AppBundle/Twig/Extension/FristyleExtension.php on line 153

Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalErrorException: Error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function format() on null in /home/fristyle/www/fri-style.ch/releases/20170629085121/src/AppBundle/Twig/Extension/FristyleExtension.php:153 Stack trace: #0 /home/fristyle/www/fri-style.ch/releases/20170629085121/var/cache/prod/twig/fc/fcc68328adebe0a19ae2893f208267bb105569df0c1bfcd8827994d4cecb396b.php(35): AppBundle\Twig\Extension\FristyleExtension->formattedFromToDate(Object(DateTime), NULL) #1 /home/fristyle/www/fri-style.ch/releases/20170629085121/var/cache/prod/classes.php(814): __TwigTemplate_d74c012560c685c9dda8a7b3b68a332bb4ff523771f5f1ed99ec577411089c89->doDisplay(Array, Array) #2 /home/fristyle/www/fri-style.ch/releases/20170629085121/var/cache/prod/classes.php(790): Twig_Template->displayWithErrorHandling(Array, Array) #3 /home/fristyle/www/fri-style.ch/releases/20170629085121/var/cache/prod/classes.php(797): Twig_Template->display(Array) #4 /home/f in /home/fristyle/www/fri-style.ch/releases/20170629085121/src/AppBundle/Twig/Extension/FristyleExtension.php on line 153