Exceptions
Exception
ErrorException
Show exception properties
ErrorException {#664 #severity: E_WARNING }
in
src/Service/TO3/SeoService.php
(line 26)
return $this->config;}#[Cache(duration: '2 hours')]public function getFriendlyUrls(): array {$domain = $this->config->domain;if (str_contains($domain, '://')) {$domain = explode('://', $domain)[1];}$retval = $this->doRequest('GET', '/cms/seo-config/' . $domain);
{closure:/var/www/web4/htdocs/html/to3-frontend/public/index.php:15}()
in
src/Service/TO3/SeoService.php
(line 26)
return $this->config;}#[Cache(duration: '2 hours')]public function getFriendlyUrls(): array {$domain = $this->config->domain;if (str_contains($domain, '://')) {$domain = explode('://', $domain)[1];}$retval = $this->doRequest('GET', '/cms/seo-config/' . $domain);
return $this->redirectToRoute('agenturbereich.index', [], 301);}#[Route(path: '/{uri}', name: 'seo', requirements: ['uri' => '.+'], defaults: ['uri' => null], priority: -1)]public function seo(string $uri, Request $request): Response {$seoConfigs = $this->seoService->getFriendlyUrls();$seoConfig = $seoConfigs[$uri] ?? null;if (!empty($seoConfig) && !empty($seoConfig->paket)) {$reiseController = new ReiseController($this->resolver,$this->seoService,
in
vendor/symfony/http-kernel/HttpKernel.php
->
seo
(line 200)
$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, $controllerMetadata);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 80)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 155)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
}});$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 00:26:08 | http_client | Request: "GET https://to3-abnahme.tourone.de/backend/systemsettings/to3-abnahme.tourone.de?XDEBUG_SESSION_START=PHPSTORM" |
| INFO 00:26:08 | http_client |
Response: "200 https://to3-abnahme.tourone.de/backend/systemsettings/to3-abnahme.tourone.de?XDEBUG_SESSION_START=PHPSTORM" 0.34608 seconds {
"http_code": 200,
"url": "https://to3-abnahme.tourone.de/backend/systemsettings/to3-abnahme.tourone.de?XDEBUG_SESSION_START=PHPSTORM",
"total_time": 0.34608
}
|
| INFO 00:26:08 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "954bef"
},
"request_uri": "https://to3-abnahme.tourone.de/_profiler/954bef?panel=exception&type=request",
"method": "GET"
}
|
Stack Trace
|
ErrorException
|
|---|
ErrorException:
Attempt to read property "domain" on null
at src/Service/TO3/SeoService.php:26
at {closure:/var/www/web4/htdocs/html/to3-frontend/public/index.php:15}()
(src/Service/TO3/SeoService.php:26)
at App\Service\TO3\SeoService->getFriendlyUrls()
(src/Controller/IndexController.php:35)
at App\Controller\IndexController->seo()
(vendor/symfony/http-kernel/HttpKernel.php:200)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:80)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:155)
at Symfony\Component\HttpKernel\Kernel->handle()
(public/index.php:23)
|