Twig\Error\RuntimeError

Line 59 of /var/www/wohnbau/site/templates/module.twig

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

                        <div>{{ page.leistungsnachweis.kirbytextinline|raw }}</div>
                    </div>
                {% endif %}
                {% for additionalField in page.additionalFields.toStructure() %}
                    {% set field = site.additionalFieldsModule.toStructure().findBy('key', additionalField.type.value) %}
                    <div class="u-rowPadding">
                        <div class="u-uppercase">{{ field.name }}</div>
                        <div>{{ additionalField.text.kirbytextinline|raw }}</div>
                    </div>
                {% endfor %}
                {% if page.cover.isEmpty() == false %}
                    <div class="u-cover">
                        {% set coverImage = page.cover.toFile().resize(0, 600) %}