Affected Version
2026.2
Affected capability
Assets
Steps to reproduce
Upload Image or Video - delete file on storage and run generic-index - should be able to index file - but throws error:
Pimcore\Model\Asset\Video\ImageThumbnail::getPath(): Return value must be of type string, null returned or Pimcore\Model\Asset\Image::getWidth(): Return value must be of type int, string returned
Actual Behavior
throws php error
Expected Behavior
should throw exception? but still not a php error
Affected Version
2026.2
Affected capability
Assets
Steps to reproduce
Upload Image or Video - delete file on storage and run generic-index - should be able to index file - but throws error:
Pimcore\Model\Asset\Video\ImageThumbnail::getPath(): Return value must be of type string, null returnedorPimcore\Model\Asset\Image::getWidth(): Return value must be of type int, string returnedActual Behavior
throws php error
Expected Behavior
should throw exception? but still not a php error