<?php
use App\Kernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};
No log messages
RuntimeException
|
---|
RuntimeException: Failed to start the session because headers have already been sent by "/home/pwwqbrx/toutespromos/vendor/symfony/security-http/Firewall/ExceptionListener.php" at line 60. at vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:135 at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:326) at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes') (vendor/symfony/http-foundation/Session/Session.php:258) at Symfony\Component\HttpFoundation\Session\Session->getBag('attributes') (vendor/symfony/http-foundation/Session/Session.php:278) at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag() (vendor/symfony/http-foundation/Session/Session.php:78) at Symfony\Component\HttpFoundation\Session\Session->get('cart', array()) (src/Services/CartServices.php:85) at App\Services\CartServices->getCart() (src/Services/CartServices.php:33) at App\Services\CartServices->addToCart(19) (src/Controller/Cart/CartController.php:36) at App\Controller\Cart\CartController->addToCart(19) (vendor/symfony/http-kernel/HttpKernel.php:163) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35) at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (vendor/autoload_runtime.php:29) at require_once('/home/pwwqbrx/toutespromos/vendor/autoload_runtime.php') (public/index.php:5) |