Dear Sir or Madam,
after the last update I suddenly have problems with the breadcrumb
attached the error message
Fatal error: Uncaught Error: Call to undefined function avia_breadcrumbs() in /www/htdocs/xxx/xxx/wp-content/themes/enfold-child/functions.php:62 Stack trace: #0 /www/htdocs/xxx/xxx/wp-content/themes/enfold/template-builder.php(43): avia_title() #1 /www/htdocs/xxx/xxx/wp-includes/template-loader.php(106): include(‘/www/htdocs/w01…’) #2 /www/htdocs/xxx/xxx/wp-blog-header.php(19): require_once(‘/www/htdocs/w01…’) #3 /www/htdocs/xxx/xxx/index.php(17): require(‘/www/htdocs/w01…’) #4 {main} thrown in /www/htdocs/xxx/xxx/wp-content/themes/enfold-child/functions.php on line 62
Line 62 from function.php
if($breadcrumb) $additions .= avia_breadcrumbs(array(‘separator’ => ‘/’, ‘richsnippet’ => true));
Danke
Thanks I found the solution myself
Please try to replace this code:
if ($breadcrumb) $additions .= avia_breadcrumbs(array('separator' => '>', 'richsnippet' => true));
with:
if ($breadcrumb) $additions .= Avia_Breadcrumb_Trail()->get_trail( array( 'separator' => '/', 'richsnippet' => true ) );
the avia_breadcrumbs function has already been deprecated.