Deprecated: Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct(): Implicitly marking parameter $registry as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php on line 46

Deprecated: Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct(): Implicitly marking parameter $expressionLanguage as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php on line 46

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::__construct(): Implicitly marking parameter $authChecker as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/sensio/framework-extra-bundle/src/EventListener/IsGrantedListener.php on line 33

Deprecated: EasyCorp\Bundle\EasyAdminBundle\Factory\ActionFactory::processGlobalActions(): Implicitly marking parameter $actionsDto as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/easycorp/easyadmin-bundle/src/Factory/ActionFactory.php on line 64

Deprecated: Symfony\WebpackEncoreBundle\Asset\EntrypointLookupCollection::__construct(): Implicitly marking parameter $defaultBuildName as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/symfony/webpack-encore-bundle/src/Asset/EntrypointLookupCollection.php on line 28

Deprecated: Symfony\WebpackEncoreBundle\Asset\EntrypointLookupCollection::getEntrypointLookup(): Implicitly marking parameter $buildName as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/symfony/webpack-encore-bundle/src/Asset/EntrypointLookupCollection.php on line 34

Deprecated: Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension::renderWebpackScriptTags(): Implicitly marking parameter $packageName as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/symfony/webpack-encore-bundle/src/Twig/EntryFilesTwigExtension.php on line 51

Deprecated: Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension::renderWebpackLinkTags(): Implicitly marking parameter $packageName as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/symfony/webpack-encore-bundle/src/Twig/EntryFilesTwigExtension.php on line 57

Deprecated: Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension::renderStimulusAction(): Implicitly marking parameter $actionName as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/symfony/webpack-encore-bundle/src/Twig/StimulusTwigExtension.php on line 76

Deprecated: Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension::renderStimulusAction(): Implicitly marking parameter $eventName as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/symfony/webpack-encore-bundle/src/Twig/StimulusTwigExtension.php on line 76

Deprecated: Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension::appendStimulusAction(): Implicitly marking parameter $eventName as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/symfony/webpack-encore-bundle/src/Twig/StimulusTwigExtension.php on line 124

Deprecated: Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension::renderStimulusTarget(): Implicitly marking parameter $targetNames as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/symfony/webpack-encore-bundle/src/Twig/StimulusTwigExtension.php on line 135

Deprecated: Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension::appendStimulusTarget(): Implicitly marking parameter $targetNames as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/symfony/webpack-encore-bundle/src/Twig/StimulusTwigExtension.php on line 163

Deprecated: Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter::__construct(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/sensio/framework-extra-bundle/src/Configuration/ParamConverter.php on line 61

Deprecated: Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter::__construct(): Implicitly marking parameter $converter as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/sensio/framework-extra-bundle/src/Configuration/ParamConverter.php on line 61

Deprecated: Symfony\WebpackEncoreBundle\Asset\EntrypointLookup::__construct(): Implicitly marking parameter $cache as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/symfony/webpack-encore-bundle/src/Asset/EntrypointLookup.php on line 36

Deprecated: Symfony\WebpackEncoreBundle\Asset\EntrypointLookup::__construct(): Implicitly marking parameter $cacheKey as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/symfony/webpack-encore-bundle/src/Asset/EntrypointLookup.php on line 36

Deprecated: Boldr\Cms\CmsBundle\Twig\DynamicPropertyNormalizer::normalize(): Implicitly marking parameter $format as nullable is deprecated, the explicit nullable type must be used instead in /home/boldrdev/sites/tmk/app/vendor/boldr/cms-bundle/src/Twig/DynamicPropertyNormalizer.php on line 11
Failed to start the session because headers have already been sent by "/home/boldrdev/sites/tmk/app/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php" at line 46. (500 Internal Server Error)

Symfony Exception

RuntimeException

HTTP 500 Internal Server Error

Failed to start the session because headers have already been sent by "/home/boldrdev/sites/tmk/app/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php" at line 46.

Exception

RuntimeException

  1. if (\PHP_SESSION_ACTIVE === session_status()) {
  2. throw new \RuntimeException('Failed to start the session: already started by PHP.');
  3. }
  4. if (filter_var(\ini_get('session.use_cookies'), \FILTER_VALIDATE_BOOLEAN) && headers_sent($file, $line)) {
  5. throw new \RuntimeException(sprintf('Failed to start the session because headers have already been sent by "%s" at line %d.', $file, $line));
  6. }
  7. $sessionId = $_COOKIE[session_name()] ?? null;
  8. /*
  9. * Explanation of the session ID regular expression: `/^[a-zA-Z0-9,-]{22,250}$/`.
  1. }
  2. if (!$this->started && $this->saveHandler->isActive()) {
  3. $this->loadSession();
  4. } elseif (!$this->started) {
  5. $this->start();
  6. }
  7. return $this->bags[$name];
  8. }
  1. /**
  2. * {@inheritdoc}
  3. */
  4. public function getBag(string $name)
  5. {
  6. $bag = $this->storage->getBag($name);
  7. return method_exists($bag, 'getBag') ? $bag->getBag() : $bag;
  8. }
  9. /**
  1. *
  2. * Note that this method was added to help with IDE autocompletion.
  3. */
  4. private function getAttributeBag(): AttributeBagInterface
  5. {
  6. return $this->getBag($this->attributeName);
  7. }
  8. }
  1. /**
  2. * {@inheritdoc}
  3. */
  4. public function has(string $name)
  5. {
  6. return $this->getAttributeBag()->has($name);
  7. }
  8. /**
  9. * {@inheritdoc}
  10. */
Session->has('boldr_shop_guest_customer_id') in local_bundles/shop-bundle/src/ShopContext.php (line 282)
  1. $this->customer = $customer;
  2. return $customer;
  3. }
  4. }
  5. // 2. Check for guest customer
  6. if ($session !== null && $session->has(self::GUEST_CUSTOMER_ID_SESSION))
  7. {
  8. $id = $session->get(self::GUEST_CUSTOMER_ID_SESSION);
  9. $customer = $customerRepository->find($id);
  10. if ($customer !== null)
ShopContext->getCustomer(false) in local_bundles/shop-bundle/src/ShopContext.php (line 137)
  1. public function _getCurrentOrder($createIfNotExists = true): ?Order
  2. {
  3. $cartState = $this->container->get('order_flow_manager')->getCartState();
  4. // Get (or create) customer object
  5. $customer = $this->getCustomer($createIfNotExists);
  6. if ($customer === null)
  7. {
  8. return null;
  9. }
ShopContext->_getCurrentOrder(false) in local_bundles/shop-bundle/src/ShopContext.php (line 103)
  1. public function getCurrentOrder(bool $createIfNotExists = true): ?Order
  2. {
  3. if (!$this->loadedCurrentOrder || ($createIfNotExists && $this->currentOrder === null))
  4. {
  5. $this->loadedCurrentOrder = true;
  6. $this->currentOrder = $this->_getCurrentOrder($createIfNotExists);
  7. if ($this->currentOrder !== null)
  8. {
  9. $productVariantIds = array_unique(array_map(
  10. fn($orderItem) => $orderItem->getProductVariant()->getId(),
  1. public function getShop(?Order $order = null, bool $useRequest = true): Shop
  2. {
  3. if ($order === null)
  4. {
  5. $order = $this->shopContext->getCurrentOrder(false);
  6. }
  7. if ($order !== null && $order->getId() !== null)
  8. {
  9. if (!array_key_exists($order->getId(), $this->cache))
ShopManager->getShop() in src/Presenter/CategoryPresenter.php (line 32)
  1. $categoryView = $this->inner->createCategoryView($category, $summary, $locale);
  2. $categoryOptions = $this->categoryOptionsRepository->find($category);
  3. $headerImage = $categoryOptions?->getHeaderImage();
  4. $categoryView->headerImage = $headerImage === null ? null : $this->componentPresenter->createComponentView(new Image($headerImage), $locale);
  5. $shop = $this->shopManager->getShop();
  6. $shopCategoryTranslation = $this->shopCategoryTranslationRepository->findByCategoryAndShop($category, $shop, $locale);
  7. if ($shopCategoryTranslation !== null && $shopCategoryTranslation->alternativeDescription !== '') {
  8. $categoryView->description = $shopCategoryTranslation?->alternativeDescription;
  9. }
CategoryPresenter->createCategoryView(object(Category), false, 'en') in local_bundles/shop-bundle/src/Controller/CategoryController.php (line 38)
  1. $locale = $request->getLocale();
  2. $filters = [new CategoryFilterDataDto([$category])];
  3. return $this->container->get(ProductListController::class)->productList($request, '@BoldrShop/catalog/category.html.twig', [
  4. 'category' => $this->container->get(CategoryPresenterInterface::class)->createCategoryView($category, false, $locale),
  5. ], $filters, new CategorySortOrderDto($category));
  6. }
  7. public function handlePermalink(PermalinkableInterface $permalinkable, Request $request): Response
  8. {
CategoryController->renderCategory(object(Request), object(Category)) in local_bundles/shop-bundle/src/Controller/CategoryController.php (line 49)
  1. if (!($permalinkable instanceof Category))
  2. {
  3. throw new \RuntimeException('Passed non-Category permalinkable to CategoryController::handlePermalink');
  4. }
  5. return $this->renderCategory($request, $permalinkable);
  6. }
  7. public function resolvePermalink(string $permalink, string $locale): ?PermalinkableInterface
  8. {
  9. $repoCategory = $this->getDoctrine()->getRepository(Category::class);
  1. // Save the permalinkable in a request attribute
  2. $request->attributes->set('_permalinkable', $permalinkable);
  3. // Delegate handling the permalink to the responsible PermalinkHandlerInterface
  4. $handler = $this->permalinkHandlers->get($permalinkableClass);
  5. return $handler->handlePermalink($permalinkable, $request);
  6. }
  7. /**
  8. * Gets a cache key for the permalink
  9. */
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. {
  2. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3. $this->requestStack->push($request);
  4. try {
  5. return $this->handleRaw($request, $type);
  6. } catch (\Exception $e) {
  7. if ($e instanceof RequestExceptionInterface) {
  8. $e = new BadRequestHttpException($e->getMessage(), $e);
  9. }
  10. if (false === $catch) {
  1. $this->boot();
  2. ++$this->requestStackSize;
  3. $this->resetServices = true;
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. $this->request = $request;
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. $response->send();
  7. if ($this->kernel instanceof TerminableInterface) {
  8. $this->kernel->terminate($this->request, $response);
  9. }
in vendor/autoload_runtime.php -> run (line 35)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/boldrdev/sites/tmk/app/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Logs 1

Level Channel Message
INFO 01:24:23 php User Deprecated: Method "Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface::isOptional()" might add "bool" as a native return type declaration in the future. Do the same in implementation "EasyCorp\Bundle\EasyAdminBundle\Cache\CacheWarmer" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 01:24:23 php User Deprecated: Method "Symfony\Component\HttpKernel\CacheWarmer\WarmableInterface::warmUp()" might add "array" as a native return type declaration in the future. Do the same in implementation "EasyCorp\Bundle\EasyAdminBundle\Cache\CacheWarmer" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 01:24:23 php User Deprecated: Method "Symfony\Contracts\Service\ServiceSubscriberInterface::getSubscribedServices()" might add "array" as a native return type declaration in the future. Do the same in implementation "EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 01:24:23 php User Deprecated: Method "EasyCorp\Bundle\EasyAdminBundle\Contracts\Controller\CrudControllerInterface::index()" might add "KeyValueStore|Response" as a native return type declaration in the future. Do the same in implementation "Boldr\Cms\CmsBundle\Controller\Admin\AbstractPolymorphicCrudController" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 01:24:23 php User Deprecated: Method "EasyCorp\Bundle\EasyAdminBundle\Contracts\Controller\CrudControllerInterface::edit()" might add "KeyValueStore|Response" as a native return type declaration in the future. Do the same in implementation "Boldr\Cms\CmsBundle\Controller\Admin\AbstractPolymorphicCrudController" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 01:24:23 php User Deprecated: Method "EasyCorp\Bundle\EasyAdminBundle\Contracts\Controller\CrudControllerInterface::new()" might add "KeyValueStore|Response" as a native return type declaration in the future. Do the same in implementation "Boldr\Cms\CmsBundle\Controller\Admin\AbstractPolymorphicCrudController" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 01:24:23 php User Deprecated: Method "EasyCorp\Bundle\EasyAdminBundle\Contracts\Controller\CrudControllerInterface::new()" might add "KeyValueStore|Response" as a native return type declaration in the future. Do the same in implementation "Boldr\Shop\ShopBundle\Controller\Admin\OrderCrudController" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 01:24:23 php User Deprecated: Method "EasyCorp\Bundle\EasyAdminBundle\Contracts\Controller\CrudControllerInterface::edit()" might add "KeyValueStore|Response" as a native return type declaration in the future. Do the same in implementation "Boldr\Shop\ShopBundle\Controller\Admin\OrderCrudController" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
DEBUG 01:24:24 doctrine SELECT r0_.id AS id_0, r0_.prefix AS prefix_1, r0_.source AS source_2, r0_.target AS target_3 FROM redirect r0_ WHERE r0_.source = ? OR (r0_.prefix = 1 AND ? LIKE CONCAT(r0_.source, '%')) LIMIT 1
[
    "/en/stokparasols",
    "/en/stokparasols"
]
INFO 01:24:24 request Matched route "cms_permalink".
{
    "route": "cms_permalink",
    "route_parameters": {
        "_route": "cms_permalink",
        "_controller": "Boldr\\Cms\\CmsBundle\\Controller\\PermalinkController::resolve",
        "permalink": "en/stokparasols"
    },
    "request_uri": "https://tmk-en.boldrdev.nl/en/stokparasols?page=1",
    "method": "GET"
}
DEBUG 01:24:24 security Checking for authenticator support.
{
    "firewall_name": "boldr_users",
    "authenticators": 1
}
DEBUG 01:24:24 security Checking support on authenticator.
{
    "firewall_name": "boldr_users",
    "authenticator": "Boldr\\Cms\\UsersBundle\\Security\\UserAuthenticator"
}
DEBUG 01:24:24 security Authenticator does not support the request.
{
    "firewall_name": "boldr_users",
    "authenticator": "Boldr\\Cms\\UsersBundle\\Security\\UserAuthenticator"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Boldr\Cms\RedirectBundle\EventSubscriber\KernelEventSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Boldr\\Cms\\RedirectBundle\\EventSubscriber\\KernelEventSubscriber::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Boldr\Cms\CmsBundle\EventSubscriber\LocaleSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Boldr\\Cms\\CmsBundle\\EventSubscriber\\LocaleSubscriber::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Boldr\Cms\CmsBundle\EventSubscriber\CookieSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Boldr\\Cms\\CmsBundle\\EventSubscriber\\CookieSubscriber::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::handleLegacyEaContext".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::handleLegacyEaContext"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Boldr\Shop\ShopUtmBundle\EventSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Boldr\\Shop\\ShopUtmBundle\\EventSubscriber::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController"
}
DEBUG 01:24:24 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 01:24:24 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 01:24:24 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ControllerListener::onKernelController"
}
DEBUG 01:24:24 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ParamConverterListener::onKernelController"
}
DEBUG 01:24:24 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\HttpCacheListener::onKernelController"
}
DEBUG 01:24:24 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\TemplateListener::onKernelController"
}
DEBUG 01:24:24 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
DEBUG 01:24:24 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\SecurityListener::onKernelControllerArguments"
}
DEBUG 01:24:24 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\IsGrantedListener::onKernelControllerArguments"
}
INFO 01:24:24 php User Deprecated: Since symfony/framework-bundle 5.4: Method "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::getDoctrine()" is deprecated, inject an instance of ManagerRegistry in your controller instead.
{
    "exception": {}
}
DEBUG 01:24:24 doctrine SELECT c0_.id AS id_0, c0_.layout AS layout_1, c0_.serialized_layout AS serialized_layout_2, c0_.time_last_updated AS time_last_updated_3, c0_.synchronize_translations AS synchronize_translations_4, c0_.type AS type_5, c0_.parent_id AS parent_id_6, c0_.primary_image_id AS primary_image_id_7 FROM cms_page c0_ LEFT JOIN cms_page_translation c1_ ON c0_.id = c1_.page_id WHERE c1_.locale = ? AND c1_.permalink = ? AND c0_.parent_id IS NULL LIMIT 1
[
    "en",
    "stokparasols"
]
INFO 01:24:24 php User Deprecated: Since symfony/framework-bundle 5.4: Method "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::getDoctrine()" is deprecated, inject an instance of ManagerRegistry in your controller instead.
{
    "exception": {}
}
DEBUG 01:24:24 doctrine SELECT s0_.id AS id_0, s0_.visible AS visible_1, s0_.sort_order AS sort_order_2, s0_.show_as_filter AS show_as_filter_3, s0_.parent_id AS parent_id_4 FROM shop_category s0_ LEFT JOIN shop_category_translation s1_ ON s0_.id = s1_.category_id WHERE s1_.locale = ? AND s1_.permalink = ? AND s0_.visible = 1 LIMIT 1
[
    "en",
    "stokparasols"
]
DEBUG 01:24:24 doctrine SELECT t0.id AS id_1, t0.locale AS locale_2, t0.name AS name_3, t0.permalink AS permalink_4, t0.content_elements AS content_elements_5, t0.category_id AS category_id_6 FROM shop_category_translation t0 WHERE t0.category_id = ?
[
    189
]
DEBUG 01:24:24 doctrine SELECT t0.category_id AS category_id_1, t0.header_image_id AS header_image_id_2 FROM tmk_category_options t0 WHERE t0.category_id = ?
[
    189
]
DEBUG 01:24:24 doctrine SELECT t0.id AS id_1, t0.type AS type_2, t0.storage_identifier AS storage_identifier_3, t0.public_name AS public_name_4, t0.derivatives AS derivatives_5, t0.enqueued_derivatives AS enqueued_derivatives_6, t0.derivatives_enqueued AS derivatives_enqueued_7, t0.mime_type AS mime_type_8, t0.size AS size_9, t0.width AS width_10, t0.height AS height_11, t0.time_uploaded AS time_uploaded_12 FROM cms_upload t0 WHERE t0.id = ?
[
    6353
]
DEBUG 01:24:24 doctrine SELECT t0.id AS id_1, t0.locale AS locale_2, t0.display_name AS display_name_3, t0.description AS description_4, t0.upload_id AS upload_id_5 FROM cms_upload_translation t0 WHERE t0.upload_id = ?
[
    6353
]
CRITICAL 01:24:24 request Uncaught PHP Exception RuntimeException: "Failed to start the session because headers have already been sent by "/home/boldrdev/sites/tmk/app/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php" at line 46." at /home/boldrdev/sites/tmk/app/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php line 145
{
    "exception": {},
    "url": "https://tmk-en.boldrdev.nl/en/stokparasols?page=1"
}
DEBUG 01:24:24 doctrine SELECT r0_.id AS id_0, r0_.prefix AS prefix_1, r0_.source AS source_2, r0_.target AS target_3 FROM redirect r0_ WHERE r0_.source = ? OR (r0_.prefix = 1 AND ? LIKE CONCAT(r0_.source, '%')) LIMIT 1
[
    "/en/stokparasols",
    "/en/stokparasols"
]
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Boldr\Cms\RedirectBundle\EventSubscriber\KernelEventSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Boldr\\Cms\\RedirectBundle\\EventSubscriber\\KernelEventSubscriber::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Boldr\Cms\CmsBundle\EventSubscriber\LocaleSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Boldr\\Cms\\CmsBundle\\EventSubscriber\\LocaleSubscriber::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Boldr\Cms\CmsBundle\EventSubscriber\CookieSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Boldr\\Cms\\CmsBundle\\EventSubscriber\\CookieSubscriber::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::handleLegacyEaContext".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::handleLegacyEaContext"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.request" to listener "Boldr\Shop\ShopUtmBundle\EventSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Boldr\\Shop\\ShopUtmBundle\\EventSubscriber::onKernelRequest"
}
DEBUG 01:24:24 event Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController"
}
DEBUG 01:24:24 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 01:24:24 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 01:24:24 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ControllerListener::onKernelController"
}
DEBUG 01:24:24 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ParamConverterListener::onKernelController"
}
DEBUG 01:24:24 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\HttpCacheListener::onKernelController"
}
DEBUG 01:24:24 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\TemplateListener::onKernelController"
}
DEBUG 01:24:24 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
DEBUG 01:24:24 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\SecurityListener::onKernelControllerArguments"
}
DEBUG 01:24:24 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\IsGrantedListener::onKernelControllerArguments"
}

Stack Trace

RuntimeException
RuntimeException:
Failed to start the session because headers have already been sent by "/home/boldrdev/sites/tmk/app/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php" at line 46.

  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('attributes')
     (vendor/symfony/http-foundation/Session/Session.php:261)
  at Symfony\Component\HttpFoundation\Session\Session->getBag('attributes')
     (vendor/symfony/http-foundation/Session/Session.php:283)
  at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
     (vendor/symfony/http-foundation/Session/Session.php:69)
  at Symfony\Component\HttpFoundation\Session\Session->has('boldr_shop_guest_customer_id')
     (local_bundles/shop-bundle/src/ShopContext.php:282)
  at Boldr\Shop\ShopBundle\ShopContext->getCustomer(false)
     (local_bundles/shop-bundle/src/ShopContext.php:137)
  at Boldr\Shop\ShopBundle\ShopContext->_getCurrentOrder(false)
     (local_bundles/shop-bundle/src/ShopContext.php:103)
  at Boldr\Shop\ShopBundle\ShopContext->getCurrentOrder(false)
     (vendor/boldr/multishop-bundle/src/ShopManager.php:36)
  at Boldr\Shop\MultishopBundle\ShopManager->getShop()
     (src/Presenter/CategoryPresenter.php:32)
  at App\Presenter\CategoryPresenter->createCategoryView(object(Category), false, 'en')
     (local_bundles/shop-bundle/src/Controller/CategoryController.php:38)
  at Boldr\Shop\ShopBundle\Controller\CategoryController->renderCategory(object(Request), object(Category))
     (local_bundles/shop-bundle/src/Controller/CategoryController.php:49)
  at Boldr\Shop\ShopBundle\Controller\CategoryController->handlePermalink(object(Category), object(Request))
     (vendor/boldr/cms-bundle/src/Controller/PermalinkController.php:271)
  at Boldr\Cms\CmsBundle\Controller\PermalinkController->resolve(object(Request), object(DataCollectorTranslator), 'stokparasols', false)
     (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:35)
  at require_once('/home/boldrdev/sites/tmk/app/vendor/autoload_runtime.php')
     (public/index.php:5)                
Loading…
Loading the web debug toolbar…
Attempt #