Exceptions
Exception
ErrorException
Show exception properties
ErrorException {#635 #severity: E_WARNING }
in
src/Controller/ZFrontController.php
(line 186)
{// 1. récupère l url$url = $this->recupUrl($slug, $slug2, $slug3, $slug4, $slug5);// 2. récupère la page d accueil$pages = $this->pagesRepo->findHomePage();// 3. récupère toutes les homePages$homePage = $this->pagesRepo->findAllHomePage();dump($homePage);
in
vendor/symfony/http-kernel/HttpKernel.php
->
front_index
(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 191)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/home/voyagen/www/frontOffice/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| DEBUG 16:11:16 | php |
Warning: Zend OPcache API is restricted by "restrict_api" configuration directive {
"exception": {
"severity": 2,
"file": "/home/voyagen/www/frontOffice/vendor/symfony/error-handler/DebugClassLoader.php",
"line": 318,
"trace": [
{
"file": "/home/voyagen/www/frontOffice/vendor/symfony/debug-bundle/DebugBundle.php",
"line": 35,
"function": "loadClass",
"class": "Symfony\\Component\\ErrorHandler\\DebugClassLoader",
"type": "->"
}
],
"count": 39
}
}
|
| INFO 16:11:16 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "a13509"
},
"request_uri": "https://voyagespresse.com/_profiler/a13509?panel=exception&type=request",
"method": "GET"
}
|
| INFO 16:11:16 | deprecation |
User Deprecated: Support for MySQL < 8 is deprecated and will be removed in DBAL 5 (AbstractMySQLDriver.php:75 called by AbstractDriverMiddleware.php:32, https://github.com/doctrine/dbal/pull/6343, package doctrine/dbal) {
"exception": {}
}
|
Stack Trace
|
ErrorException
|
|---|
ErrorException:
Warning: Undefined property: App\Controller\ZFrontController::$pagesRepo
at src/Controller/ZFrontController.php:186
at App\Controller\ZFrontController->front_index('_configurator', 'final', '', '', '')
(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:191)
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:32)
at require_once('/home/voyagen/www/frontOffice/vendor/autoload_runtime.php')
(public/index.php:5)
|