Hi,
When I edit a portfolio item, I get this alert :
Warning: Undefined array key “trail_end” in /…/wp-content/themes/enfold/includes/helpers/helper-template-logic.php on line 210
Regards
Hey RollandH,
Thanks for the login details. The warning disappears if the parent theme is active, so it’s likely that it’s generated by something in your child theme. Please try to remove all your customisations, then add them back one by one to see when the warning comes back. Also note that a warning won’t cause any problems on your actual site.
Best regards,
Rikard
Hey Rikard
Thank you for your quick response.
Next time I will do this test before asking you.
Best regards
Found the origin but it comes from a function that is part of your documentation :
function av_breadcrumbs_shortcode( $atts ) {
return Avia_Breadcrumb_Trail()->get_trail( array( 'separator' => '/', 'richsnippet' => true ) );
}
add_shortcode( 'av_breadcrumbs', 'av_breadcrumbs_shortcode' );
https://kriesi.at/documentation/enfold/breadcrumbs/#insert-breadcrumbs-as-shortcodes