Support » Plugin: Hansel & Gretel: Fine-Tuned Breadcrumb Generator » Fatal error in certain pages

  • Hi, I love your plugin but I’ve found a problem.

    I have this code inside the heather:

    if (function_exists('HAG_Breadcrumbs')) { HAG_Breadcrumbs(array(
    			'home_show' => false,
    			'last_link'  => false,
    			'excluded_taxonomies' => array(
    				'post_format', 'tag'),
    			'taxonomy_excluded_terms' => array(
    				'category' => array('uncategorized'),
    		)); }

    and it works beautifully everywhere except in pages like: or

    The page rendering stops exactly at the point of your plugin, giving this message:

    Fatal error: Exception thrown without a stack frame in Unknown on line 0

    If I comment that code, the page loads well. If I deactivate your plugin, the page loads too.

    Do you have any idea on how to fix this? Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Chris


    Hi andamira,

    Thanks for using H&G! I’m sorry it’s giving you issues with your date archives. What version of H&G are you using? If you remove the option parameters from your call to HAG_Breadcrumbs() does the error message still occur?

    – Chris

    I could’ve checked that before… Well, yes, it gives the same error with this code:

    if (function_exists('HAG_Breadcrumbs')) { HAG_Breadcrumbs(); }

    I’ve only used this plugin in one website so far, maybe it’s a theme compatibility issue?

    Plugin Author Chris


    It might be related to the theme, but I’d like some more information before I blame it on the theme 😛

    Two questions and one request for you:

    1) What version of WP are you running?
    2) What version of H&G do you have installed?
    3) Can you set debug_show to true and post the contents of the HTML comment it generated on one of those date archive pages (feel free to redact anything you don’t want to post here on the forum, I just want to see what the queried object the plugin is seeing)

    1) WP 3.5.1

    2) H&G 0.0.5

    3) visiting the address http://domain/2013/02 it gives :

    Here is the full text of the last post of february (400 words), without quotes nor brackets, edited by me for privacy reasons
    " ["post_title"]=> string(47) "TITLE OF THE POST, EDITED BY ME TOO" ["post_excerpt"]=> string(0) "" ["post_status"]=> string(7) "publish" ["comment_status"]=> string(4) "open" ["ping_status"]=> string(6) "closed" ["post_password"]=> string(0) "" ["post_name"]=> string(46) "luna-de-miel-en-seychelles-mauricio-o-maldivas" ["to_ping"]=> string(0) "" ["pinged"]=> string(0) "" ["post_modified"]=> string(19) "2013-02-01 21:00:20" ["post_modified_gmt"]=> string(19) "2013-02-01 20:00:20" ["post_content_filtered"]=> string(0) "" ["post_parent"]=> int(0) ["guid"]=> string(39) "http://domain/?p=103" ["menu_order"]=> int(0) ["post_type"]=> string(4) "post" ["post_mime_type"]=> string(0) "" ["comment_count"]=> string(1) "0" ["filter"]=> string(3) "raw" } ######################## $OPTIONS ######################## array(32) { ["debug_show"]=> bool(false) ["debug_comment"]=> bool(true) ["wrapper_element"]=> string(1) "p" ["wrapper_class"]=> string(0) "" ["wrapper_id"]=> string(11) "breadcrumbs" ["crumb_element"]=> string(0) "" ["crumb_class"]=> string(0) "" ["crumb_link"]=> bool(true) ["link_class"]=> string(0) "" ["prefix"]=> string(0) "" ["suffix"]=> string(0) "" ["separator"]=> string(7) "»" ["home_show"]=> bool(false) ["home_link"]=> bool(true) ["home_label"]=> string(4) "Home" ["home_class"]=> string(0) "" ["home_id"]=> string(0) "" ["404_label"]=> string(14) "Page Not Found" ["search_label"]=> string(14) "Search Results" ["search_query"]=> bool(false) ["post_type_show"]=> bool(true) ["taxonomy_show"]=> bool(true) ["taxonomy_ancestors_show"]=> bool(true) ["taxonomy_preferred"]=> string(0) "" ["excluded_taxonomies"]=> array(2) { [0]=> string(11) "post_format" [1]=> string(3) "tag" } ["taxonomy_excluded_terms"]=> array(1) { ["category"]=> array(1) { [0]=> string(13) "uncategorized" } } ["last_show"]=> bool(true) ["last_link"]=> bool(false) ["last_class"]=> string(7) "current" ["last_id"]=> string(0) "" ["microdata"]=> bool(true) ["post_types"]=> array(0) { } } -->
    Fatal error: Exception thrown without a stack frame in Unknown on line 0


    Plugin Author Chris


    Hello again,

    Sorry about the delay. From what I’m seeing, it may be theme related. I’m working on a fix that will bypass that issue (and perform better in general). I’ll let you know when the changes are completed here.

    – Chris

    That would be perfect. I’ll be waiting. Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error in certain pages’ is closed to new replies.