If you receive the message "Breadcrumb issues detected on page xy" and Google Search Console subsequently explains the error with "data-vocabulary.org schema deprecated" (in this case: Breadcrumbs), you should make adjustments to the template files in order to implement the structured data using the currently valid markup. Our example here refers to breadcrumbs, which are intended to represent the navigation path using structured data / Rich Snippets.
The first file that needs to be adjusted can be found in the overloads, more precisely in the directory
/html/absoluts24.dePROD/GXUserComponents/overloads/breadcrumb/
The filename is
HERSTELLERKUERZEL_breadcrumb.inc.php
Here, the trail() function was overridden and the trail string was assembled using the outdated method:
'<li itemtype="http://data-vocabulary.org/Breadcrumb" itemscope="">
<a itemprop="url" href="' . $this->_trail[$i]['link'] . '" title="' . $this->_trail[$i]['title'] . '">
<span itemprop="title">' .
$this->_trail[$i]['title'] .
'</span>
</a>
</li>';
We now change this construct to the current implementation
'<li property="itemListElement" typeof="ListItem">
<a property="item" typeof="WebPage" href="' . $this->_trail[$i]['link'] . '" title="' . $this->_trail[$i]['title'] . '">
<span property="name">' .
$this->_trail[$i]['title'] .
'</span>
</a>
<meta property="position" content="'.($i+1).'">
</li>';
Then we also need to modify our template file in
\templates\YOURTEMPLATENAME\index.html
In this file, we now change all occurrences of the breadcrumb lists
<ol id="breadcrumb" class="breadcrumb">
to
<ol id="breadcrumb" class="breadcrumb" vocab="https://schema.org/" typeof="BreadcrumbList">
Done! Don't forget to clear the cache (page and module cache)! Seen at our web agency with Gambio GX3.
