Warning: array_column() expects parameter 1 to be array, null given in /var/www/hubbis.symfony/src/HomeBundle/Controller/EventController.php on line 4751

Warning: array_multisort(): Argument #1 is expected to be an array or a sort flag in /var/www/hubbis.symfony/src/HomeBundle/Controller/EventController.php on line 4751

Fatal error: Uncaught exception 'RuntimeException' with message 'Failed to start the session because headers have already been sent by "/var/www/hubbis.symfony/src/HomeBundle/Controller/EventController.php" at line 4751.' in /var/www/hubbis.symfony/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:140 Stack trace: #0 /var/www/hubbis.symfony/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php(278): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /var/www/hubbis.symfony/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php(79): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes') #2 [internal function]: Symfony\Component\HttpFoundation\Session\Session->has('customer') #3 /var/www/hubbis.symfony/vendor/twig/twig/lib/Twig/Template.php(677): call_user_func_array(Array, Array) #4 /var/www/hubbis.symfony/app/cache/home/twig/0a/0a7b78 in /var/www/hubbis.symfony/app/Resources/views/base.html.twig on line 100