Exceptions
Exception
Imagine\Exception\ InvalidArgumentException
in
vendor/imagine/imagine/src/File/Loader.php
(line 164)
* @throws \Imagine\Exception\InvalidArgumentException*/protected function checkLocalFile(){if (!is_file($this->path)) {throw new InvalidArgumentException(sprintf('File %s does not exist.', $this->path));}if (!is_readable($this->path)) {throw new InvalidArgumentException(sprintf('File %s is not readable.', $this->path));}}
in
vendor/imagine/imagine/src/File/Loader.php
->
checkLocalFile
(line 73)
if ($this->path === '') {throw new InvalidArgumentException('$path is empty');}$this->isUrl = filter_var($this->path, FILTER_VALIDATE_URL) !== false;if (!$this->isUrl) {$this->checkLocalFile();}}/*** {@inheritdoc}
in
vendor/imagine/imagine/src/Factory/ClassFactory.php
->
__construct
(line 53)
** @see \Imagine\Factory\ClassFactoryInterface::createFileLoader()*/public function createFileLoader($path){return $this->finalize(new Loader($path));}/*** {@inheritdoc}*
in
vendor/imagine/imagine/src/Gd/Imagine.php
->
createFileLoader
(line 87)
** @see \Imagine\Image\ImagineInterface::open()*/public function open($path){$loader = $path instanceof LoaderInterface ? $path : $this->getClassFactory()->createFileLoader($path);$path = $loader->getPath();$data = $loader->getData();$resource = $this->createImageFromString($data);
Imagine->open(object(Response))
in
local/modules/TheliaLibrary/Controller/Front/LegacyImageController.php
(line 64)
if (file_exists($formattedImagePath)) {return new BinaryFileResponse($formattedImagePath);}$image = $imageService->getImagineInstance()->open($sourceFilePath);$image = $imageService->applyRegion($image, $region);$image = $imageService->applySize($image, $size);$image = $imageService->applyRotation($image, $rotation, $format);$image = $imageService->applyQuality($image, $quality);$image->save($formattedImagePath);
in
vendor/symfony/http-kernel/HttpKernel.php
->
getImage
(line 181)
$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/thelia/core/lib/Thelia/Core/TheliaHttpKernel.php
->
handle
(line 72)
*/public function handle(Request $request, $type = HttpKernelInterface::MAIN_REQUEST, $catch = true): \Symfony\Component\HttpFoundation\Response{$this->container->get('request.context')->fromRequest($request);$response = parent::handle($request, $type, $catch);return $response;}}
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;}}
in
vendor/thelia/core/lib/Thelia/Core/Thelia.php
->
handle
(line 455)
}}$this->boot();return parent::handle($request, $type, $catch);}/*** Load some configuration* Initialize all plugins.
Debug::enable();}$thelia = new App\Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);$request = Request::createFromGlobals();$response = $thelia->handle($request);$response->send();$thelia->terminate($request, $response);
Logs
No log messages
Stack Trace
|
InvalidArgumentException
|
|---|
Imagine\Exception\InvalidArgumentException:
File HTTP/1.0 404 Not Found
Cache-Control: no-cache, private
Date: Sat, 13 Dec 2025 00:00:52 GMT
does not exist.
at vendor/imagine/imagine/src/File/Loader.php:164
at Imagine\File\Loader->checkLocalFile()
(vendor/imagine/imagine/src/File/Loader.php:73)
at Imagine\File\Loader->__construct(object(Response))
(vendor/imagine/imagine/src/Factory/ClassFactory.php:53)
at Imagine\Factory\ClassFactory->createFileLoader(object(Response))
(vendor/imagine/imagine/src/Gd/Imagine.php:87)
at Imagine\Gd\Imagine->open(object(Response))
(local/modules/TheliaLibrary/Controller/Front/LegacyImageController.php:64)
at TheliaLibrary\Controller\Front\LegacyImageController->getImage('product', '6902', 'full', '^!260,260', '0', 'default', 'webp', object(ImageService))
(vendor/symfony/http-kernel/HttpKernel.php:181)
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/thelia/core/lib/Thelia/Core/TheliaHttpKernel.php:72)
at Thelia\Core\TheliaHttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:197)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 1, true)
(vendor/thelia/core/lib/Thelia/Core/Thelia.php:455)
at Thelia\Core\Thelia->handle(object(Request))
(web/index.php:33)
|