WordPress.org

Ready to get started?Download WordPress

Forums

Comments Template: failed to open stream (3 posts)

  1. gnasser
    Member
    Posted 5 years ago #

    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

  2. Austin Matzko
    Member
    Posted 5 years ago #

    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.

  3. gnasser
    Member
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic