Fatal error: Call to a member function getName() on null in /data/www/www.chateaukrakovany.sk/src/AppBundle/Controller/Front/PackageController.php on line 68

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Error: Call to a member function getName() on null' in /data/www/www.chateaukrakovany.sk/src/AppBundle/Controller/Front/PackageController.php:68 Stack trace: #0 {main} Next exception 'Symfony\Component\Yaml\Exception\ParseException' with message 'Unexpected characters near ", 'Ubytovanie izby': 'Accommodation rooms'" at line 205 (near "'Ubytovanie izby': 'Accommodation rooms'").' in /data/www/www.chateaukrakovany.sk/vendor/symfony/symfony/src/Symfony/Component/Yaml/Inline.php:135 Stack trace: #0 /data/www/www.chateaukrakovany.sk/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php(771): Symfony\Component\Yaml\Inline::parse(''accommodation'...', 0, Array) #1 /data/www/www.chateaukrakovany.sk/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php(395): Symfony\Component\Yaml\Parser->parseValue(''accommodation'...', 0, 'mapping') #2 /data/www/www.chateaukrakovany.sk/vendor/symfony/symfony/src/Symfony/Component in /data/www/www.chateaukrakovany.sk/app/Resources/TwigBundle/views/Exception/error500.html.twig on line 5