WordPress.org

Forums

Disqus Comment System
Trying to get property of non-object in disqus.php on line 152 (1 post)

  1. Fernando Daciuk
    Member
    Posted 1 year ago #

    This notice appears on archive / category / search results pages where there are no posts to show.
    It happens in function dsq_can_replace, because it relies on the global $post object which is not set when there are no posts to loop on.
    A check like if(!isset($post)) return false; would solve the problem.

    https://wordpress.org/plugins/disqus-comment-system/

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

Tags

No tags yet.