Twig\Error\RuntimeError

Line 45 of /www/htdocs/w01a2ae6/priesching/site/templates/product.twig

Impossible to access an attribute ("url") on a null variable.

          <div class="aspect-w-1 aspect-h-1">
            <div class="p-4 md:p-16">
              <div class="w-full h-full js-gallery" itemscope itemtype="http://schema.org/ImageGallery">
                {% set image = page.coverimage %}
                {{ pattern('figure', {
                  content: pattern('link', {
                    href: image.url,
                    classes: ['block w-full h-full'],
                    attributes: {
                      itemprop: 'contentUrl',
                      'data-size': image.width ~ 'x' ~ image.height,
                    },
                    content: pattern('image', {