ErrorException {#1319 #message: "Warning: file_get_contents(competitions/1/standings/standing.json): Failed to open stream: No such file or directory" #code: 0 #file: "/home/betfora/www/bff2026/src/Controller/RankingController.php" #line: 28 #severity: E_WARNING : { { App\Controller\RankingController->show(EntityManagerInterface $em, Competition $competition): Response … ›$standing_url = 'competitions/' . $competition->getId() . '/standings/standing.json';›$standing_json = file_get_contents($standing_url, false, stream_context_create($arrContextOptions));›$espn_standings = json_decode($standing_json, true);} { Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response … ›// call controller›$response = $controller(...$arguments);› : { : Container1hVUttS\EntityManagerGhost614a58f {#234 …} : App\Entity\Competition {#1119 …} } } { Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response … ›try {›return $response = $this->handleRaw($request, $type);›} catch (\Throwable $e) {: { : Symfony\Component\HttpFoundation\Request {#10 …} : 1 } } { Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response … ›try {›return $this->getHttpKernel()->handle($request, $type, $catch);›} finally {: { : Symfony\Component\HttpFoundation\Request {#10 …} : 1 : true } } { Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int … ›{›$response = $this->kernel->handle($this->request);› : { : Symfony\Component\HttpFoundation\Request {#10 …} } } { require_once … ›->getRunner($app)›->run()›);} { › ›require_once dirname(__DIR__).'/vendor/autoload_runtime.php';› : { "/home/betfora/www/bff2026/vendor/autoload_runtime.php" } } } }
Twig\Error\RuntimeError {#1956 -lineno: 1 -name: "_flashes.html.twig" -rawMessage: "An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "/home/betfora/www/bff2026/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 175.")." -sourcePath: "/home/betfora/www/bff2026/templates/_flashes.html.twig" -sourceCode: """ {% for message in app.flashes('success') %}\n <div\n class="fixed top-5 right-5 flex items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800"\n role="alert"\n >\n <div class="inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200">\n <svg class="w-5 h-5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20">\n <path d="M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z"/>\n </svg>\n <span class="sr-only">Check icon</span>\n </div>\n <div class="ms-3 text-sm font-normal">{{ message }}</div>\n <button\n type="button"\n class="ms-auto -mx-1.5 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex items-center justify-center h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"\n aria-label="Close"\n >\n <span class="sr-only">Close</span>\n <svg class="w-3 h-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"/>\n </svg>\n </button>\n </div>\n {% endfor %} """ }
{% for message in app.flashes('success') %} <div class="fixed top-5 right-5 flex items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800" role="alert" > <div class="inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"> return $this->blocks; } public function display(array $context, array $blocks = []): void { foreach ($this->yield($context, $blocks) as $data) { echo $data; } } public function render(array $context): string ob_start(); } else { ob_start(function () { return ''; }); } try { $this->display($context); } catch (\Throwable $e) { while (ob_get_level() > $level) { ob_end_clean(); } ) { } public function render(array $context = []): string { return $this->template->render($context); } public function display(array $context = []) { // using func_get_args() allows to not expose the blocks argument if ($isSandboxed) { $loaded->unwrap()->checkSecurity(); } return $loaded->render($variables); } finally { if ($isSandboxed && !$alreadySandboxed) { $sandbox->disableSandbox(); } } yield " <!-- flash --> <main class=\"flex-fill\"> <div id=\"flash-container\"> "; // line 112 yield Twig\Extension\CoreExtension::include($this->env, $context, "_flashes.html.twig"); yield " </div> "; // line 114 yield from $this->unwrap()->yieldBlock('body', $context, $blocks); { $context += $this->env->getGlobals(); $blocks = array_merge($this->blocks, $blocks); try { yield from $this->doDisplay($context, $blocks); } catch (Error $e) { if (!$e->getSourceContext()) { $e->setSourceContext($this->getSourceContext()); } $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ranking/show.html.twig")); $this->parent = $this->loadTemplate("front.html.twig", "ranking/show.html.twig", 1); yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks)); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); { $context += $this->env->getGlobals(); $blocks = array_merge($this->blocks, $blocks); try { yield from $this->doDisplay($context, $blocks); } catch (Error $e) { if (!$e->getSourceContext()) { $e->setSourceContext($this->getSourceContext()); } return $this->blocks; } public function display(array $context, array $blocks = []): void { foreach ($this->yield($context, $blocks) as $data) { echo $data; } } public function render(array $context): string ob_start(); } else { ob_start(function () { return ''; }); } try { $this->display($context); } catch (\Throwable $e) { while (ob_get_level() > $level) { ob_end_clean(); } ) { } public function render(array $context = []): string { return $this->template->render($context); } public function display(array $context = []) { // using func_get_args() allows to not expose the blocks argument * @throws SyntaxError When an error occurred during compilation * @throws RuntimeError When an error occurred during rendering */ public function render($name, array $context = []): string { return $this->load($name)->render($context); } /** * Displays a template. * if (null !== $block) { return $this->container->get('twig')->load($view)->renderBlock($block, $parameters); } return $this->container->get('twig')->render($view, $parameters); } private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response { $content = $this->doRenderView($view, $block, $parameters, $method); return $this->container->get('twig')->render($view, $parameters); } private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response { $content = $this->doRenderView($view, $block, $parameters, $method); $response ??= new Response(); if (200 === $response->getStatusCode()) { foreach ($parameters as $v) { if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) { * If an invalid form is found in the list of parameters, a 422 status code is returned. * Forms found in parameters are auto-cast to form views. */ protected function render(string $view, array $parameters = [], ?Response $response = null): Response { return $this->doRender($view, null, $parameters, $response, __FUNCTION__); } /** * Renders a block in a view. * } catch (Exception $e) { dump($e); // } return $this->render('ranking/show.html.twig', [ 'competition' => $competition, 'ranking' => $ranking, ]); } public function FindStandingCompetitor($competitors, $api_id) : ?array{ $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS); $controller = $event->getController(); $arguments = $event->getArguments(); // call controller $response = $controller(...$arguments); // view if (!$response instanceof Response) { $event = new ViewEvent($this, $request, $type, $response, $event); $this->dispatcher->dispatch($event, KernelEvents::VIEW); $request->headers->set('X-Php-Ob-Level', (string) ob_get_level()); $this->requestStack->push($request); $response = null; try { return $response = $this->handleRaw($request, $type); } catch (\Throwable $e) { if ($e instanceof \Error && !$this->handleAllThrowables) { throw $e; } $this->boot(); ++$this->requestStackSize; $this->resetServices = true; try { return $this->getHttpKernel()->handle($request, $type, $catch); } finally { --$this->requestStackSize; } } ) { } public function run(): int { $response = $this->kernel->handle($this->request); if (Kernel::VERSION_ID >= 60400) { $response->send(false); if (\function_exists('fastcgi_finish_request') && !$this->debug) {$app = $app(...$args);exit( $runtime ->getRunner($app) ->run());<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) { return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);}; if (\PHP_SESSION_ACTIVE === session_status()) { throw new \RuntimeException('Failed to start the session: already started by PHP.'); } if (filter_var(\ini_get('session.use_cookies'), \FILTER_VALIDATE_BOOL) && headers_sent($file, $line)) { throw new \RuntimeException(\sprintf('Failed to start the session because headers have already been sent by "%s" at line %d.', $file, $line)); } $sessionId = $_COOKIE[session_name()] ?? null; /* * Explanation of the session ID regular expression: `/^[a-zA-Z0-9,-]{22,250}$/`. } if (!$this->started && $this->saveHandler->isActive()) { $this->loadSession(); } elseif (!$this->started) { $this->start(); } return $this->bags[$name]; } $this->storage->registerBag(new SessionBagProxy($bag, $this->data, $this->usageIndex, $this->usageReporter)); } public function getBag(string $name): SessionBagInterface { $bag = $this->storage->getBag($name); return method_exists($bag, 'getBag') ? $bag->getBag() : $bag; } /** /** * Gets the flashbag interface. */ public function getFlashBag(): FlashBagInterface { return $this->getBag($this->flashName); } /** * Gets the attributebag interface. * if (null === $types || '' === $types || [] === $types) { return $session->getFlashBag()->all(); } if (\is_string($types)) { return $session->getFlashBag()->get($types); } $result = []; foreach ($types as $type) { $result[$type] = $session->getFlashBag()->get($type); } // Some objects throw exceptions when they have __call, and the method we try // to call is not supported. If ignoreStrictCheck is true, we should return null. try { $ret = $object->$method(...$arguments); } catch (\BadMethodCallException $e) { if ($call && ($ignoreStrictCheck || !$env->isStrictVariables())) { return; } throw $e; $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "_flashes.html.twig")); // line 1 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1, $this->source); })()), "flashes", ["success"], "method", false, false, false, 1)); foreach ($context['_seq'] as $context["_key"] => $context["message"]) { // line 2 yield " <div class=\"fixed top-5 right-5 flex items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800\" role=\"alert\" { $context += $this->env->getGlobals(); $blocks = array_merge($this->blocks, $blocks); try { yield from $this->doDisplay($context, $blocks); } catch (Error $e) { if (!$e->getSourceContext()) { $e->setSourceContext($this->getSourceContext()); } return $this->blocks; } public function display(array $context, array $blocks = []): void { foreach ($this->yield($context, $blocks) as $data) { echo $data; } } public function render(array $context): string ob_start(); } else { ob_start(function () { return ''; }); } try { $this->display($context); } catch (\Throwable $e) { while (ob_get_level() > $level) { ob_end_clean(); } ) { } public function render(array $context = []): string { return $this->template->render($context); } public function display(array $context = []) { // using func_get_args() allows to not expose the blocks argument if ($isSandboxed) { $loaded->unwrap()->checkSecurity(); } return $loaded->render($variables); } finally { if ($isSandboxed && !$alreadySandboxed) { $sandbox->disableSandbox(); } } yield " <!-- flash --> <main class=\"flex-fill\"> <div id=\"flash-container\"> "; // line 112 yield Twig\Extension\CoreExtension::include($this->env, $context, "_flashes.html.twig"); yield " </div> "; // line 114 yield from $this->unwrap()->yieldBlock('body', $context, $blocks); { $context += $this->env->getGlobals(); $blocks = array_merge($this->blocks, $blocks); try { yield from $this->doDisplay($context, $blocks); } catch (Error $e) { if (!$e->getSourceContext()) { $e->setSourceContext($this->getSourceContext()); } $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ranking/show.html.twig")); $this->parent = $this->loadTemplate("front.html.twig", "ranking/show.html.twig", 1); yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks)); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); { $context += $this->env->getGlobals(); $blocks = array_merge($this->blocks, $blocks); try { yield from $this->doDisplay($context, $blocks); } catch (Error $e) { if (!$e->getSourceContext()) { $e->setSourceContext($this->getSourceContext()); } return $this->blocks; } public function display(array $context, array $blocks = []): void { foreach ($this->yield($context, $blocks) as $data) { echo $data; } } public function render(array $context): string ob_start(); } else { ob_start(function () { return ''; }); } try { $this->display($context); } catch (\Throwable $e) { while (ob_get_level() > $level) { ob_end_clean(); } ) { } public function render(array $context = []): string { return $this->template->render($context); } public function display(array $context = []) { // using func_get_args() allows to not expose the blocks argument * @throws SyntaxError When an error occurred during compilation * @throws RuntimeError When an error occurred during rendering */ public function render($name, array $context = []): string { return $this->load($name)->render($context); } /** * Displays a template. * if (null !== $block) { return $this->container->get('twig')->load($view)->renderBlock($block, $parameters); } return $this->container->get('twig')->render($view, $parameters); } private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response { $content = $this->doRenderView($view, $block, $parameters, $method); return $this->container->get('twig')->render($view, $parameters); } private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response { $content = $this->doRenderView($view, $block, $parameters, $method); $response ??= new Response(); if (200 === $response->getStatusCode()) { foreach ($parameters as $v) { if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) { * If an invalid form is found in the list of parameters, a 422 status code is returned. * Forms found in parameters are auto-cast to form views. */ protected function render(string $view, array $parameters = [], ?Response $response = null): Response { return $this->doRender($view, null, $parameters, $response, __FUNCTION__); } /** * Renders a block in a view. * } catch (Exception $e) { dump($e); // } return $this->render('ranking/show.html.twig', [ 'competition' => $competition, 'ranking' => $ranking, ]); } public function FindStandingCompetitor($competitors, $api_id) : ?array{ $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS); $controller = $event->getController(); $arguments = $event->getArguments(); // call controller $response = $controller(...$arguments); // view if (!$response instanceof Response) { $event = new ViewEvent($this, $request, $type, $response, $event); $this->dispatcher->dispatch($event, KernelEvents::VIEW); $request->headers->set('X-Php-Ob-Level', (string) ob_get_level()); $this->requestStack->push($request); $response = null; try { return $response = $this->handleRaw($request, $type); } catch (\Throwable $e) { if ($e instanceof \Error && !$this->handleAllThrowables) { throw $e; } $this->boot(); ++$this->requestStackSize; $this->resetServices = true; try { return $this->getHttpKernel()->handle($request, $type, $catch); } finally { --$this->requestStackSize; } } ) { } public function run(): int { $response = $this->kernel->handle($this->request); if (Kernel::VERSION_ID >= 60400) { $response->send(false); if (\function_exists('fastcgi_finish_request') && !$this->debug) {$app = $app(...$args);exit( $runtime ->getRunner($app) ->run());<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) { return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};| Level | Channel | Message |
|---|---|---|
| CRITICAL 01:27:33 | request |
Uncaught PHP Exception Twig\Error\RuntimeError: "An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "/home/betfora/www/bff2026/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 175.")." at _flashes.html.twig line 1 {
"exception": {}
}
|
|
[2/2]
RuntimeError
|
|---|
Twig\Error\RuntimeError:
An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "/home/betfora/www/bff2026/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 175.").
at templates/_flashes.html.twig:1
at Twig\Template->yield(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)), array())
(vendor/twig/twig/src/Template.php:343)
at Twig\Template->display(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)))
(vendor/twig/twig/src/Template.php:358)
at Twig\Template->render(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)))
(vendor/twig/twig/src/TemplateWrapper.php:35)
at Twig\TemplateWrapper->render(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)))
(vendor/twig/twig/src/Extension/CoreExtension.php:1481)
at Twig\Extension\CoreExtension::include(object(Environment), array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)), '_flashes.html.twig')
(var/cache/dev/twig/e9/e92d04487db3991fb43fd2b7090d9281.php:209)
at __TwigTemplate_a186ad43b42505cd70fd4e4e54550594->doDisplay(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_title'), 'body' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_body'), 'scripts' => array(object(__TwigTemplate_a186ad43b42505cd70fd4e4e54550594), 'block_scripts')))
(vendor/twig/twig/src/Template.php:387)
at Twig\Template->yield(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_title'), 'body' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_body'), 'scripts' => array(object(__TwigTemplate_a186ad43b42505cd70fd4e4e54550594), 'block_scripts')))
(var/cache/dev/twig/e2/e2c5be77f4aae8f83ae6551c961135ed.php:54)
at __TwigTemplate_edea3905232c40865bcb7ba1994d941d->doDisplay(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_title'), 'body' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_body')))
(vendor/twig/twig/src/Template.php:387)
at Twig\Template->yield(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_title'), 'body' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_body')))
(vendor/twig/twig/src/Template.php:343)
at Twig\Template->display(array('competition' => object(Competition), 'ranking' => array()))
(vendor/twig/twig/src/Template.php:358)
at Twig\Template->render(array('competition' => object(Competition), 'ranking' => array()))
(vendor/twig/twig/src/TemplateWrapper.php:35)
at Twig\TemplateWrapper->render(array('competition' => object(Competition), 'ranking' => array()))
(vendor/twig/twig/src/Environment.php:320)
at Twig\Environment->render('ranking/show.html.twig', array('competition' => object(Competition), 'ranking' => array()))
(vendor/symfony/framework-bundle/Controller/AbstractController.php:431)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView('ranking/show.html.twig', null, array('competition' => object(Competition), 'ranking' => array()), 'render')
(vendor/symfony/framework-bundle/Controller/AbstractController.php:436)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender('ranking/show.html.twig', null, array('competition' => object(Competition), 'ranking' => array()), null, 'render')
(vendor/symfony/framework-bundle/Controller/AbstractController.php:250)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render('ranking/show.html.twig', array('competition' => object(Competition), 'ranking' => array()))
(src/Controller/RankingController.php:101)
at App\Controller\RankingController->show(object(EntityManagerGhost614a58f), object(Competition))
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:182)
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/betfora/www/bff2026/vendor/autoload_runtime.php')
(public/index.php:5)
|
|
[1/2]
RuntimeException
|
|---|
RuntimeException:
Failed to start the session because headers have already been sent by "/home/betfora/www/bff2026/vendor/symfony/var-dumper/Dumper/AbstractDumper.php" at line 175.
at vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:116
at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
(vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:282)
at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('flashes')
(vendor/symfony/http-foundation/Session/Session.php:201)
at Symfony\Component\HttpFoundation\Session\Session->getBag('flashes')
(vendor/symfony/http-foundation/Session/Session.php:211)
at Symfony\Component\HttpFoundation\Session\Session->getFlashBag()
(vendor/symfony/twig-bridge/AppVariable.php:185)
at Symfony\Bridge\Twig\AppVariable->getFlashes('success')
(vendor/twig/twig/src/Extension/CoreExtension.php:1863)
at Twig\Extension\CoreExtension::getAttribute(object(Environment), object(Source), object(AppVariable), 'flashes', array('success'), 'method', false, false, false, 1)
(var/cache/dev/twig/c5/c5be036a2a17adeffc8a36754772919e.php:49)
at __TwigTemplate_5c27afea1ecebd2b58ca0953b973b2de->doDisplay(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable), '_parent' => array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable))), array())
(vendor/twig/twig/src/Template.php:387)
at Twig\Template->yield(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)), array())
(vendor/twig/twig/src/Template.php:343)
at Twig\Template->display(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)))
(vendor/twig/twig/src/Template.php:358)
at Twig\Template->render(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)))
(vendor/twig/twig/src/TemplateWrapper.php:35)
at Twig\TemplateWrapper->render(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)))
(vendor/twig/twig/src/Extension/CoreExtension.php:1481)
at Twig\Extension\CoreExtension::include(object(Environment), array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)), '_flashes.html.twig')
(var/cache/dev/twig/e9/e92d04487db3991fb43fd2b7090d9281.php:209)
at __TwigTemplate_a186ad43b42505cd70fd4e4e54550594->doDisplay(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_title'), 'body' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_body'), 'scripts' => array(object(__TwigTemplate_a186ad43b42505cd70fd4e4e54550594), 'block_scripts')))
(vendor/twig/twig/src/Template.php:387)
at Twig\Template->yield(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_title'), 'body' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_body'), 'scripts' => array(object(__TwigTemplate_a186ad43b42505cd70fd4e4e54550594), 'block_scripts')))
(var/cache/dev/twig/e2/e2c5be77f4aae8f83ae6551c961135ed.php:54)
at __TwigTemplate_edea3905232c40865bcb7ba1994d941d->doDisplay(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_title'), 'body' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_body')))
(vendor/twig/twig/src/Template.php:387)
at Twig\Template->yield(array('competition' => object(Competition), 'ranking' => array(), 'ea' => object(AdminContextProvider), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_title'), 'body' => array(object(__TwigTemplate_edea3905232c40865bcb7ba1994d941d), 'block_body')))
(vendor/twig/twig/src/Template.php:343)
at Twig\Template->display(array('competition' => object(Competition), 'ranking' => array()))
(vendor/twig/twig/src/Template.php:358)
at Twig\Template->render(array('competition' => object(Competition), 'ranking' => array()))
(vendor/twig/twig/src/TemplateWrapper.php:35)
at Twig\TemplateWrapper->render(array('competition' => object(Competition), 'ranking' => array()))
(vendor/twig/twig/src/Environment.php:320)
at Twig\Environment->render('ranking/show.html.twig', array('competition' => object(Competition), 'ranking' => array()))
(vendor/symfony/framework-bundle/Controller/AbstractController.php:431)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView('ranking/show.html.twig', null, array('competition' => object(Competition), 'ranking' => array()), 'render')
(vendor/symfony/framework-bundle/Controller/AbstractController.php:436)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender('ranking/show.html.twig', null, array('competition' => object(Competition), 'ranking' => array()), null, 'render')
(vendor/symfony/framework-bundle/Controller/AbstractController.php:250)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render('ranking/show.html.twig', array('competition' => object(Competition), 'ranking' => array()))
(src/Controller/RankingController.php:101)
at App\Controller\RankingController->show(object(EntityManagerGhost614a58f), object(Competition))
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:182)
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/betfora/www/bff2026/vendor/autoload_runtime.php')
(public/index.php:5)
|