Fehler im Template

Impossible to invoke a method ("getAncestors") on a boolean variable ("").

/usr/www/users/bbmhlp/bbm-lueneburg.de/craft2/craft/templates/system/navigation/breadcrumb.html(17)

05             <meta itemprop="position" content="{{ i }}">
06             <meta itemprop="name" content="{{ "Startseite"|t }}">
07             <a href="{{ siteUrl }}" title="{{ 'Startseite'|t }}" class="breadhome" itemprop="item">
08                 <span itemprop="name">
09                     <svg>
10                         <use xlink:href="#home"></use>
11                     </svg>
12                 </span>
13             </a>
14         </span>
15         {% set i = i + 1 %}
16         {% if entry.section.handle == "bueromoebel" %}
17             {% for parent in navEntry.getAncestors() %}
18                 <b>/</b>
19                 <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
20                     <meta itemprop="position" content="{{ i }}">
21                     <a href="{{ parent.url }}" title="{{ parent.title }}" itemprop="item">
22                         <span itemprop="name">{{ parent.title }}</span>
23                     </a>
24                 </span>
25                 {% set i = i + 1 %}
26             {% endfor %}
27             <b>/</b>
28             <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
29                 {% if navEntry.url is defined and navEntry.url|length %}
2024-03-28 22:41:06 Apache / Craft CMS 2.9.2