Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
4.6.2
-
None
-
Yes
Description
Steps to reproduce:
- Install NovaeZSEOBundle
- Setup "display_images_in_sitemap: true" in nova_ezseo.yml
- Open /sitemap.xml
Example of nova_ezseo.yml
nova_ezseo: system: default: default_metas: author: ~ copyright: ~ generator: ~ MSSmartTagsPreventParsing: ~ fieldtype_metas_identifier: ~ fieldtype_metas: title: label: ~ default_pattern: ~ required: true description: label: ~ default_pattern: ~ minLength: ~ maxLength: ~ keywords: label: ~ default_pattern: ~ limit_to_rootlocation: false display_images_in_sitemap: true sitemap_excludes: ~ robots_disallow: ~
TypeError exception:
Ibexa\Core\Repository\Values\Content\VersionInfo::getContentInfo(): Return value must be of type Ibexa\Contracts\Core\Repository\Values\Content\ContentInfo, null returned
core/src/bundle/Core/Imagine/Cache/AliasGeneratorDecorator.php - getContentInfo (line 111): $versionInfo>getContentInfo()->id
caused by:
$variation = $this->imageVariationService->getVariation($field, new VersionInfo(), 'original');