Error 500 Internal Server Error

GET https://cms.koenig.ipv64.net/uploads/media/sulu-240x/02/2-Bildschirmfoto%202026-02-16%20um%2011.37.37.png?v=1-0

Exceptions

Failed to open file with path "03/bildschirmfoto-2026-02-16-um-11-37-37.png"

Exception

Symfony\Component\Filesystem\Exception\ IOException

Show exception properties
Symfony\Component\Filesystem\Exception\IOException {#1470
  -path: "03/bildschirmfoto-2026-02-16-um-11-37-37.png"
}
  1. $filePath = $this->getFilePath($storageOptions);
  2. try {
  3. return $this->filesystem->readStream($filePath);
  4. } catch (UnableToReadFile) {
  5. throw new IOException(\sprintf('Failed to open file with path "%s"', $filePath), path: $filePath);
  6. }
  7. }
  8. public function remove(array $storageOptions): void
  9. {
  1. }
  2. public function convert(FileVersion $fileVersion, $formatKey, $imageFormat)
  3. {
  4. $imageResource = $this->mediaImageExtractor->extract(
  5. $this->storage->load($fileVersion->getStorageOptions()),
  6. $fileVersion->getMimeType() ?? '-null-', // validated already in FormatManager, as mimetype can not be extract from storage as they may return none seekable resources
  7. );
  8. $imagine = $this->imagine;
  9. if ('svg' === $imageFormat && $this->svgImagine) {
  1. \implode(', ', $supportedImageFormats)
  2. ));
  3. }
  4. // Convert Media to format.
  5. $responseContent = $this->converter->convert($fileVersion, $formatKey, $imageFormat);
  6. // HTTP Headers
  7. $status = 200;
  8. $setExpireHeaders = true;
  1. $mediaProperties = $this->formatCache->analyzedMediaUrl($url);
  2. } catch (ImageProxyUrlNotFoundException|ImageProxyInvalidUrl $e) {
  3. throw new NotFoundHttpException('Image create error. Code: ' . $e->getCode(), $e);
  4. }
  5. return $this->formatManager->returnImage(
  6. $mediaProperties['id'],
  7. $mediaProperties['format'],
  8. $mediaProperties['fileName'],
  9. $version,
  10. );
in vendor/symfony/http-kernel/HttpKernel.php -> getImageAction (line 183)
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
Kernel->handle(object(Request)) in public/index.php (line 69)
  1. // When using the HttpCache, you need to call the method in your front controller
  2. // instead of relying on the configuration parameter
  3. // https://symfony.com/doc/6.4/reference/configuration/framework.html#http-method-override
  4. Request::enableHttpMethodParameterOverride();
  5. $request = Request::createFromGlobals();
  6. $response = $kernel->handle($request);
  7. $response->send();
  8. $kernel->terminate($request, $response);

Logs

Level Channel Message
INFO 14:27:10 deprecation User Deprecated: Class "Doctrine\ORM\Proxy\Autoloader" is deprecated. Use native lazy objects instead. (Autoloader.php:74 called by DoctrineBundle.php:136, https://github.com/doctrine/orm/pull/12005, package doctrine/orm)
{
    "exception": {}
}
INFO 14:27:10 deprecation User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}
INFO 14:27:10 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "eb318f"
    },
    "request_uri": "https://cms.koenig.ipv64.net/_profiler/eb318f",
    "method": "GET"
}
INFO 14:27:10 deprecation User Deprecated: Using ArrayAccess on Doctrine\ORM\Mapping\FieldMapping is deprecated and will not be possible in Doctrine ORM 4.0. Use the corresponding property instead. (ArrayAccessImplementation.php:18 called by ReferencesOption.php:72, https://github.com/doctrine/orm/pull/11211, package doctrine/orm)
{
    "exception": {}
}
INFO 14:27:10 deprecation User Deprecated: Specifying the "nullable" attribute for join columns in many-to-many associations (here, Sulu\Bundle\ContactBundle\Entity\Contact::$medias) is a no-op. The ORM will always set it to false. Doing so is deprecated and will be an error in 4.0. (ManyToManyOwningSideMapping.php:133 called by ClassMetadata.php:1448, https://github.com/doctrine/orm/pull/12126, package doctrine/orm)
{
    "exception": {}
}
INFO 14:27:10 deprecation User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}
INFO 14:27:10 deprecation User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}
INFO 14:27:10 deprecation User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}
INFO 14:27:10 deprecation User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}

Stack Trace

IOException
Symfony\Component\Filesystem\Exception\IOException:
Failed to open file with path "03/bildschirmfoto-2026-02-16-um-11-37-37.png"

  at vendor/sulu/sulu/src/Sulu/Bundle/MediaBundle/Media/Storage/FlysystemStorage.php:74
  at Sulu\Bundle\MediaBundle\Media\Storage\FlysystemStorage->load(array('segment' => '03', 'fileName' => 'bildschirmfoto-2026-02-16-um-11-37-37.png'))
     (vendor/sulu/sulu/src/Sulu/Bundle/MediaBundle/Media/ImageConverter/ImagineImageConverter.php:97)
  at Sulu\Bundle\MediaBundle\Media\ImageConverter\ImagineImageConverter->convert(object(FileVersion), 'sulu-240x', 'png')
     (vendor/sulu/sulu/src/Sulu/Bundle/MediaBundle/Media/FormatManager/FormatManager.php:133)
  at Sulu\Bundle\MediaBundle\Media\FormatManager\FormatManager->returnImage(2, 'sulu-240x', 'Bildschirmfoto 2026-02-16 um 11.37.37.png', 1)
     (vendor/sulu/sulu/src/Sulu/Bundle/MediaBundle/Controller/MediaStreamController.php:74)
  at Sulu\Bundle\MediaBundle\Controller\MediaStreamController->getImageAction(object(Request))
     (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:193)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (public/index.php:69)