An exception has been thrown during the rendering of a template ("Kirby\Cms\Url::to(): Argument #1 ($path) must be of type ?string, array given, called in /html/kirby_v5/vendor/getkirby/cms/config/methods.php on line 305").
opt: {
modifiers: [
loop.first ? 'primary' : 'primary-ghost' ,
],
text: item.text,
icon: 'arrow-right',
targetBlank: item.popup.toBool(),
url: item.link.toUrl()
}
} only %}
{% endif %}
{% endfor %}
</div>