Exceptions
Exception
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#933 -statusCode: 404 -headers: [] }
in
src/FishingRace/Controller/CatchController.php
(line 238)
}$filePath = $fileHandler->getPath('race_catch_photos') . '/' . $catch->getPhoto();if (!file_exists($filePath)) {throw new NotFoundHttpException(sprintf('File %s exists in DB, but was not found on path %s.', $catch->getPhoto(), $filePath));}$response = new BinaryFileResponse($filePath);$response->setContentDisposition(ResponseHeaderBag::DISPOSITION_INLINE, $catch->getPhoto());
in
vendor/symfony/http-kernel/HttpKernel.php
->
photo
(line 182)
$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 197)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
Debug::enable();}$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 18:37:58 | 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 "Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| DEBUG 18:37:58 | php |
Warning: Zend OPcache API is restricted by "restrict_api" configuration directive {
"exception": {
"severity": 2,
"file": "/data/d/8/d82a07f7-fdb9-4c2a-8294-6e09136b022d/fishingstatistics.com/sub/app/vendor/symfony/error-handler/DebugClassLoader.php",
"line": 292,
"trace": [
{
"file": "/data/d/8/d82a07f7-fdb9-4c2a-8294-6e09136b022d/fishingstatistics.com/sub/app/vendor/symfony/debug-bundle/DebugBundle.php",
"line": 38,
"function": "loadClass",
"class": "Symfony\\Component\\ErrorHandler\\DebugClassLoader",
"type": "->"
}
],
"count": 187
}
}
|
| INFO 18:37:58 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "982149"
},
"request_uri": "https://app.fishingstatistics.com/_profiler/982149",
"method": "GET"
}
|
| INFO 18:37:58 | deprecation |
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:78 called by App_KernelDevDebugContainer.php:1511, https://github.com/doctrine/orm/pull/10455, package doctrine/orm) {
"exception": {}
}
|
| DEBUG 18:37:58 | php |
Warning: Zend OPcache API is restricted by "restrict_api" configuration directive {
"exception": {
"severity": 2,
"file": "/data/d/8/d82a07f7-fdb9-4c2a-8294-6e09136b022d/fishingstatistics.com/sub/app/vendor/symfony/error-handler/DebugClassLoader.php",
"line": 292,
"trace": [
{
"file": "/data/d/8/d82a07f7-fdb9-4c2a-8294-6e09136b022d/fishingstatistics.com/sub/app/vendor/symfony/debug-bundle/DebugBundle.php",
"line": 38,
"function": "loadClass",
"class": "Symfony\\Component\\ErrorHandler\\DebugClassLoader",
"type": "->"
}
],
"count": 187
}
}
|
| INFO 18:37:58 | deprecation |
User Deprecated: Method "Doctrine\DBAL\Types\Type::getSQLDeclaration()" might add "string" as a native return type declaration in the future. Do the same in child class "App\Core\Doctrine\Type\SerializedType" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 18:37:58 | deprecation |
User Deprecated: Method "Doctrine\DBAL\Types\Type::convertToDatabaseValue()" might add "mixed" as a native return type declaration in the future. Do the same in child class "App\Core\Doctrine\Type\SerializedType" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 18:37:58 | deprecation |
User Deprecated: Method "Doctrine\DBAL\Types\Type::convertToPHPValue()" might add "mixed" as a native return type declaration in the future. Do the same in child class "App\Core\Doctrine\Type\SerializedType" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 18:37:58 | deprecation |
User Deprecated: Method "Doctrine\DBAL\Types\Type::getName()" might add "string" as a native return type declaration in the future. Do the same in child class "App\Core\Doctrine\Type\SerializedType" now to avoid errors or add an explicit @return annotation to suppress this message. {
"exception": {}
}
|
| INFO 18:37:58 | doctrine |
Connecting with parameters {params} {
"params": {
"driver": "pdo_mysql",
"charset": "utf8mb4",
"host": "mysql80.r3.websupport.cz",
"port": 3306,
"user": "ltoy3elx",
"password": "<redacted>",
"driverOptions": [],
"defaultTableOptions": {
"charset": "utf8mb4",
"collate": "utf8mb4_general_ci"
},
"dbname": "ltoy3elx"
}
}
|
| INFO 18:37:58 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Gedmo\Tree\TreeListener" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute. {
"exception": {}
}
|
| INFO 18:37:58 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Gedmo\Translatable\TranslatableListener" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute. {
"exception": {}
}
|
Stack Trace
|
NotFoundHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
File 6707fc26963884.40941721.jpeg exists in DB, but was not found on path /data/d/8/d82a07f7-fdb9-4c2a-8294-6e09136b022d/fishingstatistics.com/sub/app/uploads/filemanagerbundle_files/race_catch_photos//6707fc26963884.40941721.jpeg.
at src/FishingRace/Controller/CatchController.php:238
at App\FishingRace\Controller\CatchController->photo(object(Request), object(FileHandler), object(DataCollectorTranslator), 3697)
(vendor/symfony/http-kernel/HttpKernel.php:182)
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:197)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(public/index.php:20)
|