Exceptions
Exceptions 2
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#2707 -statusCode: 404 -headers: [] }
if ($referer = $request->headers->get('referer')) {$message .= \sprintf(' (from "%s")', $referer);}throw new NotFoundHttpException($message, $e);} catch (MethodNotAllowedException $e) {$message = \sprintf('No route found for "%s %s": Method Not Allowed (Allow: %s)', $request->getMethod(), $request->getUriForPath($request->getPathInfo()), implode(', ', $e->getAllowedMethods()));throw new MethodNotAllowedHttpException($e->getAllowedMethods(), $message, $e);}
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
onKernelRequest
(line 115)
$this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);$e = $this->stopwatch->start($this->name, 'event_listener');try {($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(line 206)
foreach ($listeners as $listener) {if ($stoppable && $event->isPropagationStopped()) {break;}$listener($event, $eventName, $this);}}/*** Sorts the internal list of listeners for the given event by priority.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 129)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 159)
*/private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response{// request$event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);if ($event->hasResponse()) {return $this->filterResponse($event->getResponse(), $request, $type);}
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(explode(',', $trustedHosts));}$kernel = new Kernel($env, $debug);$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);
Symfony\Component\Routing\Exception\ ResourceNotFoundException
if ($allowSchemes) {goto redirect_scheme;}}throw new ResourceNotFoundException(\sprintf('No routes found for "%s".', $pathinfo));}private function doMatch(string $pathinfo, array &$allow = [], array &$allowSchemes = []): array{$allow = $allowSchemes = [];
in
vendor/symfony/routing/Matcher/UrlMatcher.php
->
match
(line 93)
$this->request = $request;$originalContext = $this->context;$this->context = (clone $originalContext)->fromRequest($request);try {return $this->match($request->getPathInfo());} finally {$this->context = $originalContext;$this->request = null;}}
in
vendor/symfony/routing/Router.php
->
matchRequest
(line 188)
if (!$matcher instanceof RequestMatcherInterface) {// fallback to the default UrlMatcherInterfacereturn $matcher->match($request->getPathInfo());}return $matcher->matchRequest($request);}/*** Gets the UrlMatcher or RequestMatcher instance associated with this Router.*/
in
vendor/symfony/http-kernel/EventListener/RouterListener.php
->
matchRequest
(line 101)
// add attributes based on the request (routing)try {// matching a request is more powerful than matching a URL path + context, so try that firstif ($this->matcher instanceof RequestMatcherInterface) {$parameters = $this->matcher->matchRequest($request);} else {$parameters = $this->matcher->match($request->getPathInfo());}$this->logger?->info('Matched route "{route}".', [
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
onKernelRequest
(line 115)
$this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);$e = $this->stopwatch->start($this->name, 'event_listener');try {($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(line 206)
foreach ($listeners as $listener) {if ($stoppable && $event->isPropagationStopped()) {break;}$listener($event, $eventName, $this);}}/*** Sorts the internal list of listeners for the given event by priority.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 129)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 159)
*/private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response{// request$event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);if ($event->hasResponse()) {return $this->filterResponse($event->getResponse(), $request, $type);}
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(explode(',', $trustedHosts));}$kernel = new Kernel($env, $debug);$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 06:03:12 | php |
User Deprecated: Since api-platform/symfony 4.1: The "api_platform.validator.query_parameter_validator" service is deprecated use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\ParameterValidator" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\Validator\ArrayItems" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\Validator\Bounds" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\Validator\Enum" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\Validator\Length" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\Validator\MultipleOf" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\Validator\Pattern" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since api-platform/core 3.4: The class "ApiPlatform\ParameterValidator\Validator\Required" is deprecated, use "\ApiPlatform\Metadata\Parameter::$constraints" instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the "reportFieldsWhereDeclared" constructor parameter to true. (AttributeDriver.php:77 called by App_KernelDevDebugContainer.php:4433, https://github.com/doctrine/orm/pull/10455, package doctrine/orm) {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\ORM\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:166 called by EntityManager.php:177, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm) {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Version detection logic for MySQL will change in DBAL 4. Please specify the version as the server reports it, e.g. "10.9.3-MariaDB" instead of "mariadb-10.9". (AbstractMySQLDriver.php:176 called by AbstractMySQLDriver.php:45, https://github.com/doctrine/dbal/pull/5779, package doctrine/orm) {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since api-platform/core 3.4: Injecting the "ApiPlatform\JsonSchema\TypeFactoryInterface" inside "ApiPlatform\JsonSchema\SchemaFactory" is deprecated and "ApiPlatform\JsonSchema\TypeFactoryInterface" will be removed in 4.x. {
"exception": {}
}
|
| INFO 06:03:12 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "c347d0"
},
"request_uri": "https://int.my.brunex.ch/_profiler/c347d0",
"method": "GET"
}
|
| INFO 06:03:12 | php |
User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead. {
"exception": {}
}
|
| INFO 06:03:12 | doctrine |
Connecting with parameters {params} {
"params": {
"driver": "pdo_mysql",
"charset": "utf8",
"use_savepoints": true,
"idle_connection_ttl": 600,
"host": "127.0.0.1",
"port": 3306,
"user": "int_my_brunex_ch",
"password": "<redacted>",
"driverOptions": [],
"serverVersion": "mariadb-10.11.0",
"defaultTableOptions": {
"charset": "utf8",
"collate": "utf8_unicode_ci"
},
"dbname": "int_my_brunex_ch"
}
}
|
| DEBUG 06:03:12 | doctrine |
Executing statement: SELECT t0.id AS id_1, t0.title AS title_2, t0.logo AS logo_3, t0.theme AS theme_4, t0.order_confirmation_recipients AS order_confirmation_recipients_5, t0.website AS website_6, t0.address AS address_7, t0.company AS company_8, t0.maintenance_enabled AS maintenance_enabled_9, t0.maintenance_message AS maintenance_message_10, t0.settings AS settings_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13, t0.default_contact AS default_contact_14, t15.id AS id_16, t15.created AS created_17, t15.updated AS updated_18, t15.email AS email_19, t15.first_name AS first_name_20, t15.last_name AS last_name_21, t15.area AS area_22, t15.phone AS phone_23, t15.image AS image_24 FROM site t0 LEFT JOIN company_person t15 ON t0.default_contact = t15.id WHERE t0.id = ? LIMIT 1 (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id AS id_1, t0.title AS title_2, t0.logo AS logo_3, t0.theme AS theme_4, t0.order_confirmation_recipients AS order_confirmation_recipients_5, t0.website AS website_6, t0.address AS address_7, t0.company AS company_8, t0.maintenance_enabled AS maintenance_enabled_9, t0.maintenance_message AS maintenance_message_10, t0.settings AS settings_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13, t0.default_contact AS default_contact_14, t15.id AS id_16, t15.created AS created_17, t15.updated AS updated_18, t15.email AS email_19, t15.first_name AS first_name_20, t15.last_name AS last_name_21, t15.area AS area_22, t15.phone AS phone_23, t15.image AS image_24 FROM site t0 LEFT JOIN company_person t15 ON t0.default_contact = t15.id WHERE t0.id = ? LIMIT 1",
"params": {
"1": 1
},
"types": {
"1": 1
}
}
|
| DEBUG 06:03:12 | doctrine |
Executing statement: SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ? (parameters: {params}, types: {types}) {
"sql": "SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?",
"params": {
"1": "1",
"2": "de",
"3": "Roothirsch\\CoreBundle\\Site\\Entity\\Site"
},
"types": {
"1": 2,
"2": 2,
"3": 2
}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead. {
"exception": {}
}
|
| DEBUG 06:03:12 | doctrine |
Executing statement: SELECT t0.id AS id_1, t0.language_name AS language_name_2, t0.language_key AS language_key_3, t0.is_default_language AS is_default_language_4, t0.image AS image_5 FROM translation_language t0 WHERE t0.language_key = ? LIMIT 1 (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id AS id_1, t0.language_name AS language_name_2, t0.language_key AS language_key_3, t0.is_default_language AS is_default_language_4, t0.image AS image_5 FROM translation_language t0 WHERE t0.language_key = ? LIMIT 1",
"params": {
"1": "de"
},
"types": {
"1": 2
}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead. {
"exception": {}
}
|
| DEBUG 06:03:12 | doctrine |
Executing statement: SELECT t0.id AS id_1, t0.language_name AS language_name_2, t0.language_key AS language_key_3, t0.is_default_language AS is_default_language_4, t0.image AS image_5 FROM translation_language t0 WHERE t0.language_key = ? LIMIT 1 (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id AS id_1, t0.language_name AS language_name_2, t0.language_key AS language_key_3, t0.is_default_language AS is_default_language_4, t0.image AS image_5 FROM translation_language t0 WHERE t0.language_key = ? LIMIT 1",
"params": {
"1": "de"
},
"types": {
"1": 2
}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead. {
"exception": {}
}
|
| INFO 06:03:12 | php |
User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead. {
"exception": {}
}
|
| DEBUG 06:03:12 | doctrine |
Executing statement: SELECT t0.id AS id_1, t0.language_name AS language_name_2, t0.language_key AS language_key_3, t0.is_default_language AS is_default_language_4, t0.image AS image_5 FROM translation_language t0 WHERE t0.language_key = ? LIMIT 1 (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id AS id_1, t0.language_name AS language_name_2, t0.language_key AS language_key_3, t0.is_default_language AS is_default_language_4, t0.image AS image_5 FROM translation_language t0 WHERE t0.language_key = ? LIMIT 1",
"params": {
"1": "de"
},
"types": {
"1": 2
}
}
|
Stack Traces 2
|
[2/2]
NotFoundHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
No route found for "GET https://int.my.brunex.ch/robots.txt"
at vendor/symfony/http-kernel/EventListener/RouterListener.php:156
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:129)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:159)
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:193)
at Symfony\Component\HttpKernel\Kernel->handle()
(public/index.php:47)
|
|
[1/2]
ResourceNotFoundException
|
|---|
Symfony\Component\Routing\Exception\ResourceNotFoundException:
No routes found for "/robots.txt/".
at vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:70
at Symfony\Component\Routing\Matcher\CompiledUrlMatcher->match()
(vendor/symfony/routing/Matcher/UrlMatcher.php:93)
at Symfony\Component\Routing\Matcher\UrlMatcher->matchRequest()
(vendor/symfony/routing/Router.php:188)
at Symfony\Component\Routing\Router->matchRequest()
(vendor/symfony/http-kernel/EventListener/RouterListener.php:101)
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:129)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:159)
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:193)
at Symfony\Component\HttpKernel\Kernel->handle()
(public/index.php:47)
|