WordPress.org

Ready to get started?Download WordPress

Forums

Disqus Comment System
Error: Line 104 or comments.php (1 post)

3 stars
  1. Douglas Karr
    Member
    Posted 1 year ago #

    PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/disqus-comment-system/comments.php on line 104

    It doesn't appear that the plugin properly captures an empty array. Recommend wrapping the foreach statement with:

    if(!empty($comments)) {
      foreach ($comments as $comment) {... }
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.