WordPress.org

Support

Support » How-To and Troubleshooting » Comments Template: failed to open stream

Comments Template: failed to open stream

  • I get a weird error message on the internal pages of my blog. Has anyone seen this before?

    Warning: comments_template(/homepages/39/d195882550/htdocs/wp-content/themes/default/comments.php) [function.comments-template]: failed to open stream: No such file or directory in /homepages/39/d195882550/htdocs/wp-includes/comment-template.php on line 671

Viewing 2 replies - 1 through 2 (of 2 total)
  • That means that you’re missing the comments.php template file in your default theme’s directory (usually wp-content/themes/default/).

    Your active theme should have a comments.php file, but apparently yours is missing.

    Thanks! I found it right away and put in the file. Totally fixed!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Comments Template: failed to open stream’ is closed to new replies.