Deprecated: Constant E_STRICT is deprecated in /home/u991158039/domains/toonaerp.com/public_html/factureapi/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /home/u991158039/domains/toonaerp.com/public_html/factureapi/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/u991158039/domains/toonaerp.com/public_html/factureapi/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 166

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/u991158039/domains/toonaerp.com/public_html/factureapi/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 251

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/u991158039/domains/toonaerp.com/public_html/factureapi/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 277

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/u991158039/domains/toonaerp.com/public_html/factureapi/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 287

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/u991158039/domains/toonaerp.com/public_html/factureapi/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 315

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/u991158039/domains/toonaerp.com/public_html/factureapi/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 329

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/u991158039/domains/toonaerp.com/public_html/factureapi/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/u991158039/domains/toonaerp.com/public_html/factureapi/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/u991158039/domains/toonaerp.com/public_html/factureapi/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/u991158039/domains/toonaerp.com/public_html/factureapi/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/u991158039/domains/toonaerp.com/public_html/factureapi/vendor/symfony/routing/Annotation/Route.php on line 37
Failed to start the session because headers have already been sent by "/home/u991158039/domains/toonaerp.com/public_html/factureapi/vendor/symfony/routing/Annotation/Route.php" at line 37. (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/u991158039/domains/toonaerp.com/public_html/factureapi/vendor/symfony/routing/Annotation/Route.php" at line 37.

Exception

RuntimeException

AuthenticationUtils->getLastUsername() in src/Controller/UserConController.php (line 22)
    in vendor/autoload_runtime.php -> run (line 29)
      require_once('/home/u991158039/domains/toonaerp.com/public_html/factureapi/vendor/autoload_runtime.php') in public/index.php (line 5)
      1. <?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']);
        };
        

      Logs 1

      Level Message
      info 22:57:44 Matched route "app_security".
      {
          "route": "app_security",
          "route_parameters": {
              "_route": "app_security",
              "_controller": "App\\Controller\\UserConController::index"
          },
          "request_uri": "https://factureapi.toonaerp.com/login",
          "method": "GET"
      }
      debug 22:57:44 Checking for authenticator support.
      {
          "firewall_name": "main",
          "authenticators": 3
      }
      debug 22:57:44 Checking support on authenticator.
      {
          "firewall_name": "main",
          "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\FormLoginAuthenticator"
      }
      debug 22:57:44 Authenticator does not support the request.
      {
          "firewall_name": "main",
          "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\FormLoginAuthenticator"
      }
      debug 22:57:44 Checking support on authenticator.
      {
          "firewall_name": "main",
          "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\JsonLoginAuthenticator"
      }
      debug 22:57:44 Authenticator does not support the request.
      {
          "firewall_name": "main",
          "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\JsonLoginAuthenticator"
      }
      debug 22:57:44 Checking support on authenticator.
      {
          "firewall_name": "main",
          "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\RememberMeAuthenticator"
      }
      debug 22:57:44 Authenticator does not support the request.
      {
          "firewall_name": "main",
          "authenticator": "Symfony\\Component\\Security\\Http\\Authenticator\\RememberMeAuthenticator"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\AddFormatListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "ApiPlatform\\Symfony\\EventListener\\AddFormatListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\ReadListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "ApiPlatform\\Symfony\\EventListener\\ReadListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurity".
      {
          "event": "kernel.request",
          "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurity"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DeserializeListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "ApiPlatform\\Symfony\\EventListener\\DeserializeListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\QueryParameterValidateListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "ApiPlatform\\Symfony\\EventListener\\QueryParameterValidateListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurityPostDenormalize".
      {
          "event": "kernel.request",
          "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurityPostDenormalize"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "ApiPlatform\\Symfony\\Bundle\\EventListener\\SwaggerUiListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
      {
          "event": "kernel.controller",
          "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
      }
      debug 22:57:44 Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
      {
          "event": "kernel.controller",
          "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
      }
      debug 22:57:44 Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
      {
          "event": "kernel.controller",
          "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ControllerListener::onKernelController"
      }
      debug 22:57:44 Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
      {
          "event": "kernel.controller",
          "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ParamConverterListener::onKernelController"
      }
      debug 22:57:44 Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
      {
          "event": "kernel.controller",
          "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\HttpCacheListener::onKernelController"
      }
      debug 22:57:44 Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
      {
          "event": "kernel.controller",
          "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\TemplateListener::onKernelController"
      }
      debug 22:57:44 Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments".
      {
          "event": "kernel.controller_arguments",
          "listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments"
      }
      debug 22:57:44 Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments".
      {
          "event": "kernel.controller_arguments",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
      }
      debug 22:57:44 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 22:57:44 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 22:57:44 Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments".
      {
          "event": "kernel.controller_arguments",
          "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\IsGrantedListener::onKernelControllerArguments"
      }
      critical 22:57:44 Uncaught PHP Exception RuntimeException: "Failed to start the session because headers have already been sent by "/home/u991158039/domains/toonaerp.com/public_html/factureapi/vendor/symfony/routing/Annotation/Route.php" at line 37." at /home/u991158039/domains/toonaerp.com/public_html/factureapi/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php line 132
      {
          "exception": {}
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\AddFormatListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "ApiPlatform\\Symfony\\EventListener\\AddFormatListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\ReadListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "ApiPlatform\\Symfony\\EventListener\\ReadListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurity".
      {
          "event": "kernel.request",
          "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurity"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DeserializeListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "ApiPlatform\\Symfony\\EventListener\\DeserializeListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\QueryParameterValidateListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "ApiPlatform\\Symfony\\EventListener\\QueryParameterValidateListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurityPostDenormalize".
      {
          "event": "kernel.request",
          "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurityPostDenormalize"
      }
      debug 22:57:44 Notified event "kernel.request" to listener "ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener::onKernelRequest".
      {
          "event": "kernel.request",
          "listener": "ApiPlatform\\Symfony\\Bundle\\EventListener\\SwaggerUiListener::onKernelRequest"
      }
      debug 22:57:44 Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
      {
          "event": "kernel.controller",
          "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
      }
      debug 22:57:44 Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
      {
          "event": "kernel.controller",
          "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
      }
      debug 22:57:44 Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
      {
          "event": "kernel.controller",
          "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ControllerListener::onKernelController"
      }
      debug 22:57:44 Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
      {
          "event": "kernel.controller",
          "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ParamConverterListener::onKernelController"
      }
      debug 22:57:44 Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
      {
          "event": "kernel.controller",
          "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\HttpCacheListener::onKernelController"
      }
      debug 22:57:44 Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
      {
          "event": "kernel.controller",
          "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\TemplateListener::onKernelController"
      }
      debug 22:57:44 Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments".
      {
          "event": "kernel.controller_arguments",
          "listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments"
      }
      debug 22:57:44 Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments".
      {
          "event": "kernel.controller_arguments",
          "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
      }
      debug 22:57:44 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 22:57:44 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 22:57:44 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/u991158039/domains/toonaerp.com/public_html/factureapi/vendor/symfony/routing/Annotation/Route.php" at line 37.
      
        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:296)
        at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag()
           (vendor/symfony/http-foundation/Session/Session.php:201)
        at Symfony\Component\HttpFoundation\Session\Session->getBag()
           (vendor/symfony/http-foundation/Session/Session.php:221)
        at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
           (vendor/symfony/http-foundation/Session/Session.php:69)
        at Symfony\Component\HttpFoundation\Session\Session->get()
           (vendor/symfony/security-http/Authentication/AuthenticationUtils.php:59)
        at Symfony\Component\Security\Http\Authentication\AuthenticationUtils->getLastUsername()
           (src/Controller/UserConController.php:22)
        at App\Controller\UserConController->index()
           (vendor/symfony/http-kernel/HttpKernel.php:163)
        at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
           (vendor/symfony/http-kernel/HttpKernel.php:74)
        at Symfony\Component\HttpKernel\HttpKernel->handle()
           (vendor/symfony/http-kernel/Kernel.php:184)
        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/u991158039/domains/toonaerp.com/public_html/factureapi/vendor/autoload_runtime.php')
           (public/index.php:5)                
      Loading…
      Loading the web debug toolbar…
      Attempt #