WordPress.org

Ready to get started?Download WordPress

Forums

Really Simple Breadcrumb
[resolved] get_page_by_title() bug patch (function passes a non-object) (2 posts)

  1. msenate
    Member
    Posted 1 year ago #

    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!

    http://wordpress.org/extend/plugins/really-simple-breadcrumb/

  2. chr1s9r
    Member
    Plugin Author

    Posted 7 months ago #

    Will be changed in 1.0.1. Thanks for the hint!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic