Exceptions
Exception
RuntimeException
if ($this->started) {return true;}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));}
in
vendor/symfony/http-foundation/Session/Session.php
->
start
(line 59)
$this->registerBag($flashes);}public function start(): bool{return $this->storage->start();}public function has(string $name): bool{return $this->getAttributeBag()->has($name);
in
vendor/symfony/security-csrf/TokenStorage/SessionTokenStorage.php
->
start
(line 70)
public function hasToken(string $tokenId): bool{$session = $this->getSession();if (!$session->isStarted()) {$session->start();}return $session->has($this->namespace.'/'.$tokenId);}
in
vendor/symfony/security-csrf/CsrfTokenManager.php
->
hasToken
(line 69)
}public function getToken(string $tokenId): CsrfToken{$namespacedId = $this->getNamespace().$tokenId;if ($this->storage->hasToken($namespacedId)) {$value = $this->storage->getToken($namespacedId);} else {$value = $this->generator->generateToken();$this->storage->setToken($namespacedId, $value);
in
vendor/symfony/form/Extension/Csrf/Type/FormTypeCsrfExtension.php
->
getToken
(line 79)
{if ($options['csrf_protection'] && !$view->parent && $options['compound']) {$config = $form->getConfig();$factory = $config->getFormFactory();$tokenId = $config->getAttribute('csrf_token_id') ?? $this->getCsrfTokenId($config, $options);$data = (string) $options['csrf_token_manager']->getToken($tokenId);$csrfForm = $factory->createNamed($options['csrf_field_name'], HiddenType::class, $data, ['block_prefix' => 'csrf_token','mapped' => false,'attr' => $this->fieldAttr,
in
vendor/symfony/form/ResolvedFormType.php
->
finishView
(line 125)
$this->parent?->finishView($view, $form, $options);$this->innerType->finishView($view, $form, $options);foreach ($this->typeExtensions as $extension) {$extension->finishView($view, $form, $options);}}public function getOptionsResolver(): OptionsResolver{
in
vendor/symfony/form/Extension/DataCollector/Proxy/ResolvedTypeDataCollectorProxy.php
->
finishView
(line 83)
$this->proxiedType->buildView($view, $form, $options);}public function finishView(FormView $view, FormInterface $form, array $options): void{$this->proxiedType->finishView($view, $form, $options);// Remember which view belongs to which form instance, so that we can// get the collected data for a view when its form instance is not// available (e.g. CSRF token)$this->dataCollector->associateFormWithView($form, $view);
in
vendor/symfony/form/ResolvedFormType.php
->
finishView
(line 120)
}}public function finishView(FormView $view, FormInterface $form, array $options): void{$this->parent?->finishView($view, $form, $options);$this->innerType->finishView($view, $form, $options);foreach ($this->typeExtensions as $extension) {$extension->finishView($view, $form, $options);
in
vendor/symfony/form/Extension/DataCollector/Proxy/ResolvedTypeDataCollectorProxy.php
->
finishView
(line 83)
$this->proxiedType->buildView($view, $form, $options);}public function finishView(FormView $view, FormInterface $form, array $options): void{$this->proxiedType->finishView($view, $form, $options);// Remember which view belongs to which form instance, so that we can// get the collected data for a view when its form instance is not// available (e.g. CSRF token)$this->dataCollector->associateFormWithView($form, $view);
in
vendor/symfony/form/Form.php
->
finishView
(line 900)
$view->children[$name] = $child->createView($view);}$this->sort($view->children);$type->finishView($view, $this, $options);return $view;}/**
$this->addFlash('danger', $this->translator->trans($e->getMessage(), [], 'exceptions'));}}return $this->render('app/auth/reset/request.html.twig', ['form' => $form->createView()]);}#[Route("/password-reset-confirm/{token}", name: "auth.reset.confirm")]public function confirm(string $token, Request $request, Reset\Reset\Handler $handler): Response
in
vendor/symfony/http-kernel/HttpKernel.php
->
request
(line 183)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$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;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 193)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
Request::setTrustedHosts([$trustedHosts]);}$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 21:44:27 | php |
User Deprecated: Class "Doctrine\ORM\Proxy\Autoloader" is deprecated. Use native lazy objects instead. (Autoloader.php:74 called by DoctrineBundle.php:136, https://github.com/doctrine/orm/pull/12005, package doctrine/orm) {
"exception": {}
}
|
| INFO 21:44:27 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "6bbb7f"
},
"request_uri": "https://dev.tendergpt.uz/lk/_profiler/6bbb7f",
"method": "GET"
}
|
| INFO 21:44:27 | php |
User Deprecated: Relying on non-optimal defaults for ID generation is deprecated, and IDENTITY
results in SERIAL, which is not recommended.
Instead, configure identifier generation strategies explicitly through
configuration.
We currently recommend "SEQUENCE" for "Doctrine\DBAL\Platforms\PostgreSQLPlatform", when using DBAL 3,
and "IDENTITY" when using DBAL 4,
so you should probably use the following configuration before upgrading to DBAL 4,
and remove it after deploying that upgrade:
$configuration->setIdentityGenerationPreferences([
"Doctrine\DBAL\Platforms\PostgreSQLPlatform" => ClassMetadata::GENERATOR_TYPE_SEQUENCE,
]);
(ClassMetadataFactory.php:639 called by ClassMetadataFactory.php:550, https://github.com/doctrine/orm/issues/8893, package doctrine/orm) {
"exception": {}
}
|
Stack Trace
|
RuntimeException
|
|---|
RuntimeException:
Failed to start the session: already started by PHP.
at vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:112
at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
(vendor/symfony/http-foundation/Session/Session.php:59)
at Symfony\Component\HttpFoundation\Session\Session->start()
(vendor/symfony/security-csrf/TokenStorage/SessionTokenStorage.php:70)
at Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage->hasToken('https-form')
(vendor/symfony/security-csrf/CsrfTokenManager.php:69)
at Symfony\Component\Security\Csrf\CsrfTokenManager->getToken('form')
(vendor/symfony/form/Extension/Csrf/Type/FormTypeCsrfExtension.php:79)
at Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension->finishView(object(FormView), object(Form), array('block_name' => null, 'disabled' => false, 'label' => null, 'label_format' => null, 'label_translation_parameters' => array(), 'attr_translation_parameters' => array(), 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'required' => true, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'inherit_data' => false, 'compound' => true, 'method' => 'POST', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'allow_file_upload' => false, 'help_translation_parameters' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'error_mapping' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'block_prefix' => null, 'row_attr' => array(), 'label_html' => false, 'attr' => array(), 'priority' => 0, 'form_attr' => false, 'data_class' => 'App\\Model\\User\\UseCase\\User\\Reset\\Request\\Command', 'empty_data' => object(Closure), 'error_bubbling' => true, 'label_attr' => array(), 'action' => '', 'upload_max_size_message' => object(Closure), 'help' => null, 'help_attr' => array(), 'help_html' => false, 'is_empty_callback' => null, 'getter' => null, 'setter' => null, 'validation_groups' => null, 'constraints' => array(), 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'documentation' => array(), 'data' => object(Command)))
(vendor/symfony/form/ResolvedFormType.php:125)
at Symfony\Component\Form\ResolvedFormType->finishView(object(FormView), object(Form), array('block_name' => null, 'disabled' => false, 'label' => null, 'label_format' => null, 'label_translation_parameters' => array(), 'attr_translation_parameters' => array(), 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'required' => true, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'inherit_data' => false, 'compound' => true, 'method' => 'POST', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'allow_file_upload' => false, 'help_translation_parameters' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'error_mapping' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'block_prefix' => null, 'row_attr' => array(), 'label_html' => false, 'attr' => array(), 'priority' => 0, 'form_attr' => false, 'data_class' => 'App\\Model\\User\\UseCase\\User\\Reset\\Request\\Command', 'empty_data' => object(Closure), 'error_bubbling' => true, 'label_attr' => array(), 'action' => '', 'upload_max_size_message' => object(Closure), 'help' => null, 'help_attr' => array(), 'help_html' => false, 'is_empty_callback' => null, 'getter' => null, 'setter' => null, 'validation_groups' => null, 'constraints' => array(), 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'documentation' => array(), 'data' => object(Command)))
(vendor/symfony/form/Extension/DataCollector/Proxy/ResolvedTypeDataCollectorProxy.php:83)
at Symfony\Component\Form\Extension\DataCollector\Proxy\ResolvedTypeDataCollectorProxy->finishView(object(FormView), object(Form), array('block_name' => null, 'disabled' => false, 'label' => null, 'label_format' => null, 'label_translation_parameters' => array(), 'attr_translation_parameters' => array(), 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'required' => true, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'inherit_data' => false, 'compound' => true, 'method' => 'POST', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'allow_file_upload' => false, 'help_translation_parameters' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'error_mapping' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'block_prefix' => null, 'row_attr' => array(), 'label_html' => false, 'attr' => array(), 'priority' => 0, 'form_attr' => false, 'data_class' => 'App\\Model\\User\\UseCase\\User\\Reset\\Request\\Command', 'empty_data' => object(Closure), 'error_bubbling' => true, 'label_attr' => array(), 'action' => '', 'upload_max_size_message' => object(Closure), 'help' => null, 'help_attr' => array(), 'help_html' => false, 'is_empty_callback' => null, 'getter' => null, 'setter' => null, 'validation_groups' => null, 'constraints' => array(), 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'documentation' => array(), 'data' => object(Command)))
(vendor/symfony/form/ResolvedFormType.php:120)
at Symfony\Component\Form\ResolvedFormType->finishView(object(FormView), object(Form), array('block_name' => null, 'disabled' => false, 'label' => null, 'label_format' => null, 'label_translation_parameters' => array(), 'attr_translation_parameters' => array(), 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'required' => true, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'inherit_data' => false, 'compound' => true, 'method' => 'POST', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'allow_file_upload' => false, 'help_translation_parameters' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'error_mapping' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'block_prefix' => null, 'row_attr' => array(), 'label_html' => false, 'attr' => array(), 'priority' => 0, 'form_attr' => false, 'data_class' => 'App\\Model\\User\\UseCase\\User\\Reset\\Request\\Command', 'empty_data' => object(Closure), 'error_bubbling' => true, 'label_attr' => array(), 'action' => '', 'upload_max_size_message' => object(Closure), 'help' => null, 'help_attr' => array(), 'help_html' => false, 'is_empty_callback' => null, 'getter' => null, 'setter' => null, 'validation_groups' => null, 'constraints' => array(), 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'documentation' => array(), 'data' => object(Command)))
(vendor/symfony/form/Extension/DataCollector/Proxy/ResolvedTypeDataCollectorProxy.php:83)
at Symfony\Component\Form\Extension\DataCollector\Proxy\ResolvedTypeDataCollectorProxy->finishView(object(FormView), object(Form), array('block_name' => null, 'disabled' => false, 'label' => null, 'label_format' => null, 'label_translation_parameters' => array(), 'attr_translation_parameters' => array(), 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'required' => true, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'inherit_data' => false, 'compound' => true, 'method' => 'POST', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'allow_file_upload' => false, 'help_translation_parameters' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'error_mapping' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'block_prefix' => null, 'row_attr' => array(), 'label_html' => false, 'attr' => array(), 'priority' => 0, 'form_attr' => false, 'data_class' => 'App\\Model\\User\\UseCase\\User\\Reset\\Request\\Command', 'empty_data' => object(Closure), 'error_bubbling' => true, 'label_attr' => array(), 'action' => '', 'upload_max_size_message' => object(Closure), 'help' => null, 'help_attr' => array(), 'help_html' => false, 'is_empty_callback' => null, 'getter' => null, 'setter' => null, 'validation_groups' => null, 'constraints' => array(), 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'documentation' => array(), 'data' => object(Command)))
(vendor/symfony/form/Form.php:900)
at Symfony\Component\Form\Form->createView()
(src/Controller/Auth/ResetController.php:51)
at App\Controller\Auth\ResetController->request(object(Request), object(Handler))
(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:193)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(public/index.php:26)
|