Twig\Error\RuntimeError

Line 92 of /www/htdocs/w01e095f/pfarrverband-nepomuk.at/site/designsystem/pagetypes/calendar/templates/calendar.twig

An exception has been thrown during the rendering of a template ("mb_substr() expects parameter 1 to be string, array given").


      <div class="relative">

        <div class="mb-6">
          <h2 class="hidden text-3xl print:block">Gottesdienstordnung</h2>
          {% if category != "" %}
          <h3 class="hidden text-2xl print:block">{{ category | capitalize }}</h3>
          {% endif %}

          {% if startdate != "" %}
            <div class="text-lg">
              Für die Woche vom {{ startdate | date('d.m.Y') }} bis {{ enddate | date('d.m.Y') }}
            </div>