Notice: Undefined offset: 0 in /var/www/noriunoriunoriu.lt/releases/1051/src/NoriuVision/SiteBundle/Controller/OfferGroupController.php on line 319

Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getEnablePricePeriods() on null in /var/www/noriunoriunoriu.lt/releases/1051/src/NoriuVision/SiteBundle/Controller/OfferGroupController.php:625 Stack trace: #0 /var/www/noriunoriunoriu.lt/releases/1051/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(151): NoriuVision\SiteBundle\Controller\OfferGroupController->viewAction() #1 /var/www/noriunoriunoriu.lt/releases/1051/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw() #2 /var/www/noriunoriunoriu.lt/releases/1051/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(200): Symfony\Component\HttpKernel\HttpKernel->handle() #3 /var/www/noriunoriunoriu.lt/releases/1051/web/app.php(69): Symfony\Component\HttpKernel\Kernel->handle() #4 {main} thrown in /var/www/noriunoriunoriu.lt/releases/1051/src/NoriuVision/SiteBundle/Controller/OfferGroupController.php on line 625