<?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 "/var/www/sites/szerszamtar.hu/wwwroot/vendor/symfony/http-foundation/Request.php" at line 451.
at vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:145
at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
(vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:352)
at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag()
(vendor/symfony/http-foundation/Session/Session.php:261)
at Symfony\Component\HttpFoundation\Session\Session->getBag()
(vendor/symfony/http-foundation/Session/Session.php:283)
at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
(vendor/symfony/http-foundation/Session/Session.php:77)
at Symfony\Component\HttpFoundation\Session\Session->get()
(src/Storage/CartSessionStorage.php:76)
at App\Storage\CartSessionStorage->getCartId()
(src/Storage/CartSessionStorage.php:54)
at App\Storage\CartSessionStorage->getCart()
(src/Manager/CartManager.php:53)
at App\Manager\CartManager->getCurrentCart()
(src/Controller/DefaultController.php:1928)
at App\Controller\DefaultController->webaruhaz1Action()
(vendor/symfony/http-kernel/HttpKernel.php:163)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:35)
at require_once('/var/www/sites/szerszamtar.hu/wwwroot/vendor/autoload_runtime.php')
(public/index.php:5)
|