WordPress.org

Ready to get started?Download WordPress

Forums

Disqus Comment System
Search Results page - PHP Notice (1 post)

  1. styledev
    Member
    Posted 1 year ago #

    When we go to a search result page with no results (e.g. /?s=ddf243swe) at the very bottom of the page we get the following error:

    Notice: Trying to get property of non-object in /var/www/staging.technobuffalo.com/htdocs/wp-content/plugins/disqus-comment-system/disqus.php on line 152

    To fix this in disqus.php I put on line 150 the following:

    if( !isset($post) ) { return false; }

    http://wordpress.org/extend/plugins/disqus-comment-system/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic