Deprecated: Constant E_STRICT is deprecated in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/error-handler/ErrorHandler.php on line 76

Deprecated: Symfony\Bundle\FrameworkBundle\Controller\AbstractController::file(): Implicitly marking parameter $fileName as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 167

Deprecated: Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render(): Implicitly marking parameter $response as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 252

Deprecated: Symfony\Bundle\FrameworkBundle\Controller\AbstractController::renderForm(): Implicitly marking parameter $response as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 278

Deprecated: Symfony\Bundle\FrameworkBundle\Controller\AbstractController::stream(): Implicitly marking parameter $response as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 288

Deprecated: Symfony\Bundle\FrameworkBundle\Controller\AbstractController::createNotFoundException(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 316

Deprecated: Symfony\Bundle\FrameworkBundle\Controller\AbstractController::createAccessDeniedException(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 330

Deprecated: Symfony\Bundle\FrameworkBundle\Controller\AbstractController::sendEarlyHints(): Implicitly marking parameter $response as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 413

Deprecated: Symfony\Component\VarExporter\LazyGhostTrait::createLazyGhost(): Implicitly marking parameter $skippedProperties as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/var-exporter/LazyGhostTrait.php on line 47

Deprecated: Symfony\Component\VarExporter\LazyGhostTrait::createLazyGhost(): Implicitly marking parameter $instance as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/var-exporter/LazyGhostTrait.php on line 47

Deprecated: Symfony\Component\Cache\Adapter\FilesystemAdapter::__construct(): Implicitly marking parameter $directory as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/cache/Adapter/FilesystemAdapter.php on line 23

Deprecated: Symfony\Component\Cache\Adapter\FilesystemAdapter::__construct(): Implicitly marking parameter $marshaller as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/cache/Adapter/FilesystemAdapter.php on line 23

Deprecated: Symfony\Component\Cache\Marshaller\DefaultMarshaller::__construct(): Implicitly marking parameter $useIgbinarySerialize as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/cache/Marshaller/DefaultMarshaller.php on line 26

Deprecated: Symfony\Bridge\Doctrine\ContainerAwareEventManager::dispatchEvent(): Implicitly marking parameter $eventArgs as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/doctrine-bridge/ContainerAwareEventManager.php on line 47

Deprecated: Symfony\Component\Routing\Annotation\Route::__construct(): Implicitly marking parameter $path as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/routing/Annotation/Route.php on line 37

Deprecated: Symfony\Component\Routing\Annotation\Route::__construct(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/routing/Annotation/Route.php on line 37

Deprecated: Symfony\Component\Routing\Annotation\Route::__construct(): Implicitly marking parameter $format as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/routing/Annotation/Route.php on line 37

Deprecated: Symfony\Component\Routing\Annotation\Route::__construct(): Implicitly marking parameter $utf8 as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/routing/Annotation/Route.php on line 37

Deprecated: Symfony\Component\Routing\Annotation\Route::__construct(): Implicitly marking parameter $stateless as nullable is deprecated, the explicit nullable type must be used instead in /home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/routing/Annotation/Route.php on line 37
Failed to start the session because headers have already been sent by "/home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/cache/Adapter/FilesystemAdapter.php" at line 23. (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/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/cache/Adapter/FilesystemAdapter.php" at line 23.

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_BOOL) && 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.         $this->storage->registerBag(new SessionBagProxy($bag$this->data$this->usageIndex$this->usageReporter));
  2.     }
  3.     public function getBag(string $name): SessionBagInterface
  4.     {
  5.         $bag $this->storage->getBag($name);
  6.         return method_exists($bag'getBag') ? $bag->getBag() : $bag;
  7.     }
  8.     /**
  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.         return $this->storage->start();
  2.     }
  3.     public function has(string $name): bool
  4.     {
  5.         return $this->getAttributeBag()->has($name);
  6.     }
  7.     public function get(string $namemixed $default null): mixed
  8.     {
  9.         return $this->getAttributeBag()->get($name$default);
  1.         $request $this->getRequest();
  2.         $authenticationException null;
  3.         if ($request->attributes->has(SecurityRequestAttributes::AUTHENTICATION_ERROR)) {
  4.             $authenticationException $request->attributes->get(SecurityRequestAttributes::AUTHENTICATION_ERROR);
  5.         } elseif ($request->hasSession() && ($session $request->getSession())->has(SecurityRequestAttributes::AUTHENTICATION_ERROR)) {
  6.             $authenticationException $session->get(SecurityRequestAttributes::AUTHENTICATION_ERROR);
  7.             if ($clearSession) {
  8.                 $session->remove(SecurityRequestAttributes::AUTHENTICATION_ERROR);
  9.             }
AuthenticationUtils->getLastAuthenticationError() in src/Controller/SecurityController.php (line 20)
  1.         // if ($this->getUser()) {
  2.         //     return $this->redirectToRoute('target_path');
  3.         // }
  4.         // get the login error if there is one
  5.         $error $authenticationUtils->getLastAuthenticationError();
  6.         // last username entered by the user
  7.         $lastUsername $authenticationUtils->getLastUsername();
  8.         return $this->render('security/login.html.twig', ['last_username' => $lastUsername'error' => $error]);
  9.     }
  1.         $this->dispatcher->dispatch($eventKernelEvents::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$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2.         $this->requestStack->push($request);
  3.         $response null;
  4.         try {
  5.             return $response $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  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 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/home/u262228329/domains/edenolam.com/public_html/freereads/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

No log messages

Stack Trace

RuntimeException
RuntimeException:
Failed to start the session because headers have already been sent by "/home/u262228329/domains/edenolam.com/public_html/freereads/vendor/symfony/cache/Adapter/FilesystemAdapter.php" at line 23.

  at vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:132
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
     (vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:311)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag()
     (vendor/symfony/http-foundation/Session/Session.php:222)
  at Symfony\Component\HttpFoundation\Session\Session->getBag()
     (vendor/symfony/http-foundation/Session/Session.php:242)
  at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
     (vendor/symfony/http-foundation/Session/Session.php:64)
  at Symfony\Component\HttpFoundation\Session\Session->has()
     (vendor/symfony/security-http/Authentication/AuthenticationUtils.php:40)
  at Symfony\Component\Security\Http\Authentication\AuthenticationUtils->getLastAuthenticationError()
     (src/Controller/SecurityController.php:20)
  at App\Controller\SecurityController->login()
     (vendor/symfony/http-kernel/HttpKernel.php:181)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:197)
  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:29)
  at require_once('/home/u262228329/domains/edenolam.com/public_html/freereads/vendor/autoload_runtime.php')
     (public/index.php:5)