Support » Plugin: Really Simple Breadcrumb » get_page_by_title() bug patch (function passes a non-object)

  • Resolved msenate


    Hey all, I was getting this error with wordpress “debug” enabled:

    Notice: Trying to get property of non-object in …/wp-content/plugins/really-simple-breadcrumb/breadcrumb.php on line 33

    Figured out get_page_by_title('home'); was ineffective, so I replaced it with a function that asks for the ID of your front page then calls get_page() on it:

    $home = get_page(get_option('page_on_front'));

    Please apply this patch!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘get_page_by_title() bug patch (function passes a non-object)’ is closed to new replies.