• Resolved rachid93

    (@rachid93)


    Hello,

    I am working on upgrading the breadcrumb plugin from 5.2.0 to 7.2.0 and it seems that checking the option Show the hierarchy (specified below) leading to a post in the breadcrumb trail gives a null whenever I var_dump it.

    To test, you can add this line in class.bcn_breadcrumb_trail.php as the first line of the method post_hierarchy():

    $this->opt['bpost_' . $type . '_hierarchy_display'];

    If the option is unchecked we get a false, which is expected, but if the option is checked, it dumps a null.

    Since null is a falsy value, I can’t have my date breadcrumbs showing without tampering the first condition in post_hierarchy.

    Am I missing something ?

    Thanks for reading me.

    • This topic was modified 1 year, 11 months ago by rachid93.
Viewing 1 replies (of 1 total)
  • Thread Starter rachid93

    (@rachid93)

    After some investigations, it seems the problem was not related to the plugin itself but rather some customization we did on our end that I missed.

    Closing this thread as it is resolved.

Viewing 1 replies (of 1 total)
  • The topic ‘Hierarchy display setting is saved as null’ is closed to new replies.