Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1490337

    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

    #1490341

    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

    #1490344

    Hey Rikard
    Thank you for your quick response.
    Next time I will do this test before asking you.

    Best regards

    #1490345

    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

    • This reply was modified 1 day, 8 hours ago by RollandH.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.