Warning: Invalid argument supplied for foreach() in /home/contacto/public_html/contactoPublicPage/src/AppBundle/Controller/PackagesController.php on line 415

Fatal error: Uncaught RuntimeException: Failed to start the session because headers have already been sent by "/home/contacto/public_html/contactoPublicPage/src/AppBundle/Controller/PackagesController.php" at line 415. in /home/contacto/public_html/contactoPublicPage/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:134 Stack trace: #0 /home/contacto/public_html/contactoPublicPage/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php(258): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /home/contacto/public_html/contactoPublicPage/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php(87): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes') #2 /home/contacto/public_html/contactoPublicPage/var/cache/prod/classes.php(1396): Symfony\Component\HttpFoundation\Session\Session->get('userType') #3 /home/contacto/public_html/contactoPub in /home/contacto/public_html/contactoPublicPage/app/Resources/views/masterLayout.html.twig on line 409