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

  1. msenate
    Posted 3 years 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!


  2. chr1s9r
    Plugin Author

    Posted 2 years 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

  • Really Simple Breadcrumb
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic