Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1333352

    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

    #1333422

    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.

    #1333496

    Hi,

    Thank you for the info.

    Glad to know that you managed to find the new functions. The old breadcrumb functions are now deprecated and will be removed in the future.

    Best regards,
    Ismael

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.