Impossible to access an attribute ("url") on a null variable.
{{ item.title }}
</div>
<div class="multiple-link-block__item-content font-m">
{{ item.text.kirbytext|raw }}
</div>
{% if item.document.isNotEmpty %}
<a href="{{ item.document.toFile.url }}" target="_blank"
class="multiple-link-block__item-link button button--inverse">
PDF
</a>
{% elseif item.link.isNotEmpty %}
{% set link = block.link.toLink() %}
<a href="{{ link }}"