Support » Plugin: Breadcrumb NavXT » Notice error on cutsom post type single template

  • Hi, i’ve found notice error on custom post type template says:
    Notice: Undefined index: bpost_buy_hierarchy_display in /myroot/wp-content/plugins/breadcrumb-navxt/class.bcn_breadcrumb_trail.php on line 317

    Current Code:
    if($this->opt['bpost_' . $type . '_hierarchy_display'])

    Better Code:
    if( isset($this->opt['bpost_' . $type . '_hierarchy_display']) )

    Sorry if i’m not correct, but take a look please.
    Thanks.

    [ENV]
    PHP: 7.1.x
    Wordpress: 4.9.7
    wp-config.php: define('WP_DEBUG', true);

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Notice error on cutsom post type single template’ is closed to new replies.