Exceptions
Exceptions 2
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#2169 -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/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/EventListener/RouterListener.php
->
onKernelRequest
(line 58)
// This call is required in all cases, because the default router needs our webspace information// Would be nice to also only call this if the _requestAnalyzer attribute is set, but it's set on the next line$this->requestAnalyzer->analyze($request);$this->baseRouteListener->onKernelRequest($event);if (false !== $request->attributes->getBoolean(static::REQUEST_ANALYZER, true)) {$this->requestAnalyzer->validate($request);}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
onKernelRequest
(line 246)
$closure = static function (...$args) use (&$listener, &$closure) {if ($listener[0] instanceof \Closure) {$listener[0] = $listener[0]();$listener[1] ??= '__invoke';}($closure = $listener(...))(...$args);};} else {$closure = $listener instanceof WrappedListener ? $listener : $listener(...);}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
::
Symfony\Component\EventDispatcher\{closure}
(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/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 182)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
// When using the HttpCache, you need to call the method in your front controller// instead of relying on the configuration parameter// https://symfony.com/doc/6.4/reference/configuration/framework.html#http-method-overrideRequest::enableHttpMethodParameterOverride();$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);
Symfony\Component\Routing\Exception\ ResourceNotFoundException
in
vendor/symfony-cmf/routing/src/ChainRouter.php
(line 180)
$info = $request? "this request\n$request": "url '$pathinfo'";throw $methodNotAllowed ?: new ResourceNotFoundException("None of the routers in the chain matched $info");}/*** {@inheritdoc}*
in
vendor/symfony-cmf/routing/src/ChainRouter.php
->
doMatch
(line 134)
** Loops through all routes and tries to match the passed request.*/public function matchRequest(Request $request): array{return $this->doMatch($request->getPathInfo(), $request);}/*** Loops through all routers and tries to match the passed request or url.*
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/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/EventListener/RouterListener.php
->
onKernelRequest
(line 58)
// This call is required in all cases, because the default router needs our webspace information// Would be nice to also only call this if the _requestAnalyzer attribute is set, but it's set on the next line$this->requestAnalyzer->analyze($request);$this->baseRouteListener->onKernelRequest($event);if (false !== $request->attributes->getBoolean(static::REQUEST_ANALYZER, true)) {$this->requestAnalyzer->validate($request);}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
onKernelRequest
(line 246)
$closure = static function (...$args) use (&$listener, &$closure) {if ($listener[0] instanceof \Closure) {$listener[0] = $listener[0]();$listener[1] ??= '__invoke';}($closure = $listener(...))(...$args);};} else {$closure = $listener instanceof WrappedListener ? $listener : $listener(...);}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
::
Symfony\Component\EventDispatcher\{closure}
(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/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 182)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
// When using the HttpCache, you need to call the method in your front controller// instead of relying on the configuration parameter// https://symfony.com/doc/6.4/reference/configuration/framework.html#http-method-overrideRequest::enableHttpMethodParameterOverride();$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 22:19:22 | deprecation |
User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::build()" might add "void" as a native return type declaration in the future. Do the same in child class "HandcraftedInTheAlps\RestRoutingBundle\RestRoutingBundle" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 22:19:22 | deprecation |
User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::build()" might add "void" as a native return type declaration in the future. Do the same in child class "Massive\Bundle\SearchBundle\MassiveSearchBundle" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| DEBUG 22:19:22 | php |
Warning: Zend OPcache API is restricted by "restrict_api" configuration directive {
"exception": {
"severity": 2,
"file": "/home/fareash/www/fareastgroup/vendor/symfony/error-handler/DebugClassLoader.php",
"line": 296,
"trace": [
{
"file": "/home/fareash/www/fareastgroup/vendor/doctrine/doctrine-bundle/src/DoctrineBundle.php",
"line": 132,
"function": "loadClass",
"class": "Symfony\\Component\\ErrorHandler\\DebugClassLoader",
"type": "->"
}
],
"count": 344
}
}
|
| INFO 22:19:22 | deprecation |
User Deprecated: Version detection logic for MySQL will change in DBAL 4. Please specify the version as the server reports it, e.g. "8.0.31" instead of "8". (AbstractMySQLDriver.php:89 called by AbstractDriverMiddleware.php:68, https://github.com/doctrine/dbal/pull/5779, package doctrine/orm) {
"exception": {}
}
|
| INFO 22:19:22 | deprecation |
User Deprecated: Method "PHPCR\Query\QueryManagerInterface::createQuery()" might add "QueryInterface" as a native return type declaration in the future. Do the same in implementation "Jackalope\Query\QueryManager" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| DEBUG 22:19:22 | php |
Warning: Zend OPcache API is restricted by "restrict_api" configuration directive {
"exception": {
"severity": 2,
"file": "/home/fareash/www/fareastgroup/vendor/symfony/error-handler/DebugClassLoader.php",
"line": 296,
"trace": [
{
"file": "/home/fareash/www/fareastgroup/vendor/doctrine/doctrine-bundle/src/DoctrineBundle.php",
"line": 132,
"function": "loadClass",
"class": "Symfony\\Component\\ErrorHandler\\DebugClassLoader",
"type": "->"
}
],
"count": 344
}
}
|
| DEBUG 22:19:22 | php |
Warning: Zend OPcache API is restricted by "restrict_api" configuration directive {
"exception": {
"severity": 2,
"file": "/home/fareash/www/fareastgroup/vendor/symfony/error-handler/DebugClassLoader.php",
"line": 296,
"trace": [
{
"file": "/home/fareash/www/fareastgroup/vendor/doctrine/doctrine-bundle/src/DoctrineBundle.php",
"line": 132,
"function": "loadClass",
"class": "Symfony\\Component\\ErrorHandler\\DebugClassLoader",
"type": "->"
}
],
"count": 344
}
}
|
| INFO 22:19:22 | deprecation |
User Deprecated: Method "IteratorAggregate::getIterator()" might add "\Traversable" as a native return type declaration in the future. Do the same in implementation "Sulu\Component\Webspace\Manager\WebspaceCollection" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 22:19:22 | deprecation |
User Deprecated: Method "JsonSerializable::jsonSerialize()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "Sulu\Component\Localization\Localization" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 22:19:22 | deprecation |
User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Localization\Localization::setXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "setDefault" instead. {
"exception": {}
}
|
| INFO 22:19:22 | deprecation |
User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Localization\Localization::setXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "setDefault" instead. {
"exception": {}
}
|
| INFO 22:19:22 | deprecation |
User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Webspace\Portal::getXDefaultLocalization" method is deprecated on "Sulu\Component\Webspace\Portal" use "getDefaultLocalization" instead. {
"exception": {}
}
|
| INFO 22:19:22 | deprecation |
User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Webspace\Portal::setXDefaultLocalization" method is deprecated on "Sulu\Component\Webspace\Portal" use "setDefaultLocalization" instead. {
"exception": {}
}
|
| INFO 22:19:22 | doctrine |
Connecting with parameters {params} {
"params": {
"use_savepoints": true,
"driver": "pdo_mysql",
"idle_connection_ttl": 600,
"host": "fareashgroup.mysql.db",
"port": null,
"user": "fareashgroup",
"password": "<redacted>",
"driverOptions": [],
"defaultTableOptions": [],
"dbname": "fareashgroup",
"serverVersion": "8",
"charset": "utf8mb4"
}
}
|
| DEBUG 22:19:22 | doctrine |
Executing statement: SELECT 1 FROM phpcr_workspaces WHERE name = ? (parameters: {params}, types: {types}) {
"sql": "SELECT 1 FROM phpcr_workspaces WHERE name = ?",
"params": {
"1": "default_live"
},
"types": {
"1": 2
}
}
|
| DEBUG 22:19:22 | doctrine |
Executing query: SELECT prefix, uri FROM phpcr_namespaces {
"sql": "SELECT prefix, uri FROM phpcr_namespaces"
}
|
| DEBUG 22:19:22 | doctrine |
Executing statement:
SELECT * FROM phpcr_nodes
WHERE path = ?
AND workspace_name = ?
ORDER BY depth, sort_order ASC (parameters: {params}, types: {types}) {
"sql": "\n SELECT * FROM phpcr_nodes\n WHERE path = ?\n AND workspace_name = ?\n ORDER BY depth, sort_order ASC",
"params": {
"1": "/cmf/website/custom-urls/routes/fareast-enterprises-group.com/_profiler/15c934?panel=exception&type=request",
"2": "default_live"
},
"types": {
"1": 2,
"2": 2
}
}
|
| INFO 22:19:22 | deprecation |
Deprecated: Exception::__construct(): Passing null to parameter #2 ($code) of type int is deprecated {
"exception": {}
}
|
| INFO 22:19:22 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "15c934"
},
"request_uri": "https://fareast-enterprises-group.com/_profiler/15c934?panel=exception&type=request",
"method": "GET"
}
|
| INFO 22:19:22 | deprecation |
User Deprecated: Method "JsonSerializable::jsonSerialize()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "Sulu\Component\Content\Compat\Property" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| DEBUG 22:19:22 | php |
Warning: Zend OPcache API is restricted by "restrict_api" configuration directive {
"exception": {
"severity": 2,
"file": "/home/fareash/www/fareastgroup/vendor/symfony/error-handler/DebugClassLoader.php",
"line": 296,
"trace": [
{
"file": "/home/fareash/www/fareastgroup/vendor/doctrine/doctrine-bundle/src/DoctrineBundle.php",
"line": 132,
"function": "loadClass",
"class": "Symfony\\Component\\ErrorHandler\\DebugClassLoader",
"type": "->"
}
],
"count": 344
}
}
|
| INFO 22:19:22 | deprecation |
Deprecated: Exception::__construct(): Passing null to parameter #2 ($code) of type int is deprecated {
"exception": {}
}
|
| INFO 22:19:22 | deprecation |
Deprecated: Exception::__construct(): Passing null to parameter #2 ($code) of type int is deprecated {
"exception": {}
}
|
Stack Traces 2
|
[2/2]
NotFoundHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
No route found for "GET http://fareast-enterprises-group.com/wp-content/plugins/wp-registration/readme.txt"
at vendor/symfony/http-kernel/EventListener/RouterListener.php:149
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(RequestEvent))
(vendor/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/EventListener/RouterListener.php:58)
at Sulu\Bundle\WebsiteBundle\EventListener\RouterListener->onKernelRequest(object(RequestEvent), 'kernel.request', object(EventDispatcher))
(vendor/symfony/event-dispatcher/EventDispatcher.php:246)
at Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(object(RequestEvent), 'kernel.request', object(EventDispatcher))
(vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.request', object(RequestEvent))
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(vendor/symfony/http-kernel/HttpKernel.php:159)
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:182)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(public/index.php:69)
|
|
[1/2]
ResourceNotFoundException
|
|---|
Symfony\Component\Routing\Exception\ResourceNotFoundException:
None of the routers in the chain matched this request
GET /wp-content/plugins/wp-registration/readme.txt HTTP/1.1
Accept-Encoding: gzip,deflate
Forwarded: for=100.29.164.178; proto=http; host=fareast-enterprises-group.com
Host: fareast-enterprises-group.com
Remote-Ip: 100.29.164.178
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot) Chrome/119.0.6045.214 Safari/537.36
X-Forwarded-For: 100.29.164.178
X-Forwarded-Port: 80
X-Forwarded-Proto: http
X-Iplb-Unique-Id: 641DA4B2:1877_058717A4:0050_6909E71D_54741:565B
X-Ovhrequest-Id: 2ea2ad763a8edc00fe6f819d0b62cbd4
X-Php-Ob-Level: 1
X-Predictor: 1
X-Remote-Ip: 100.29.164.178
X-Remote-Port: 6263
X-Remote-Proto: http
at vendor/symfony-cmf/routing/src/ChainRouter.php:180
at Symfony\Cmf\Component\Routing\ChainRouter->doMatch('/wp-content/plugins/wp-registration/readme.txt', object(Request))
(vendor/symfony-cmf/routing/src/ChainRouter.php:134)
at Symfony\Cmf\Component\Routing\ChainRouter->matchRequest(object(Request))
(vendor/symfony/http-kernel/EventListener/RouterListener.php:101)
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(RequestEvent))
(vendor/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/EventListener/RouterListener.php:58)
at Sulu\Bundle\WebsiteBundle\EventListener\RouterListener->onKernelRequest(object(RequestEvent), 'kernel.request', object(EventDispatcher))
(vendor/symfony/event-dispatcher/EventDispatcher.php:246)
at Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(object(RequestEvent), 'kernel.request', object(EventDispatcher))
(vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.request', object(RequestEvent))
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
(vendor/symfony/http-kernel/HttpKernel.php:159)
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:182)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(public/index.php:69)
|