Deprecated: optional(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/illuminate/support/helpers.php on line 184

Deprecated: with(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/illuminate/support/helpers.php on line 375

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/netpozit/help.blox.city/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/netpozit/help.blox.city/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php on line 46

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::__construct(): Implicitly marking parameter $twig as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/sensio/framework-extra-bundle/src/EventListener/TemplateListener.php on line 39

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $language as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $trustResolver as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $roleHierarchy as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $tokenStorage as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $authChecker as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

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/netpozit/help.blox.city/vendor/sensio/framework-extra-bundle/src/EventListener/IsGrantedListener.php on line 33

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\FileSystem\FileSystem::getAssetIconURL(): Implicitly marking parameter $attachment as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/uvdesk/core-framework/FileSystem/FileSystem.php on line 34

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::isAccessAuthorized(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/uvdesk/core-framework/Services/UserService.php on line 99

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::getSupportGroups(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/uvdesk/core-framework/Services/UserService.php on line 160

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::getSupportTeams(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/uvdesk/core-framework/Services/UserService.php on line 178

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::getAgentPartialDataCollection(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/uvdesk/core-framework/Services/UserService.php on line 277

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::getAgentsPartialDetails(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/uvdesk/core-framework/Services/UserService.php on line 305

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::getCustomersPartial(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/uvdesk/core-framework/Services/UserService.php on line 424

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\TicketService::isTicketAccessGranted(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/uvdesk/core-framework/Services/TicketService.php on line 1958

Deprecated: Webkul\UVDesk\SupportCenterBundle\Entity\KnowledgebaseWebsite::setWebsite(): Implicitly marking parameter $website as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/uvdesk/support-center-bundle/Entity/KnowledgebaseWebsite.php on line 465

Deprecated: App\EventListener\ExceptionSubscriber::__construct(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/src/EventListener/ExceptionSubscriber.php on line 20

Deprecated: Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/netpozit/help.blox.city/vendor/symfony/swiftmailer-bundle/EventListener/EmailSenderListener.php on line 35

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/netpozit/help.blox.city/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/netpozit/help.blox.city/vendor/sensio/framework-extra-bundle/src/Configuration/ParamConverter.php on line 61
Failed to start the session because headers have already been sent by "/home/netpozit/help.blox.city/vendor/illuminate/support/helpers.php" at line 184. (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/netpozit/help.blox.city/vendor/illuminate/support/helpers.php" at line 184.

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 get(string $name, $default = null)
  5. {
  6. return $this->getAttributeBag()->get($name, $default);
  7. }
  8. /**
  9. * {@inheritdoc}
  10. */
  1. return $this->redirect($this->generateUrl('helpdesk_knowledgebase'));
  2. }
  3. $session = $request->getSession();
  4. $error = $session->get(Security::AUTHENTICATION_ERROR);
  5. $session->remove(Security::AUTHENTICATION_ERROR);
  6. if ($error) {
  7. $this->addFlash('warning', $this->translator->trans('Warning ! ' . $error->getMessage()));
  8. }
  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/netpozit/help.blox.city/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/netpozit/help.blox.city/vendor/illuminate/support/helpers.php" at line 184.

  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:77)
  at Symfony\Component\HttpFoundation\Session\Session->get('_security.last_error')
     (vendor/uvdesk/support-center-bundle/Controller/Customer.php:238)
  at Webkul\UVDesk\SupportCenterBundle\Controller\Customer->login(object(Request))
     (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/netpozit/help.blox.city/vendor/autoload_runtime.php')
     (public/index.php:5)