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

  1. styledev
    Posted 3 years 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; }


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Disqus Comment System
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic