Title: comments.php error
Last modified: August 20, 2016

---

# comments.php error

 *  [jtumper](https://wordpress.org/support/users/jtumper/)
 * (@jtumper)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/commentsphp-error/)
 * I’ve been trying to build a wordpress theme from scratch. I turned on debug mode
   to find any potential errors.
    I’ve been getting the error: “Notice: Theme without
   comments.php is deprecated since version 3.0 with no alternative available. Please
   include a comments.php template in your theme. in /home/johntip2/public_html/
   wp/wp-includes/functions.php on line 3424” I don’t understand why this happening
   because I have comments.php included.
 * contents of comments.php:
 *     ```
       <?php wp_list_comments();
       paginate_comments_links();
        comment_form(); ?>
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Ryan Hellyer](https://wordpress.org/support/users/ryanhellyer/)
 * (@ryanhellyer)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/commentsphp-error/#post-2404677)
 * I am experiencing the same bug. It’s driving me nuts and I have no idea how to
   fix it 🙁
 * It appears that my comments.php file is not being parsed, despite it being present.
   The solution will hopefully be to change to the default theme, and then flick
   back. Hopefully that will trick WordPress into reprocessing the theme and making
   use of the comments.php file, although I’d have thought it would be checking 
   for the presence of the file on every page load as it does for most other templates,
   so maybe that won’t work … off to try … nope, same problem as before.
 * 🙁
 * Any ideas?
 *  [zoacode](https://wordpress.org/support/users/zoacode/)
 * (@zoacode)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/commentsphp-error/#post-2404714)
 * Same problem. I am using custom post types that use custom single templates and
   wonder if it’s related.
 *  [zoacode](https://wordpress.org/support/users/zoacode/)
 * (@zoacode)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/commentsphp-error/#post-2404715)
 * Solved this by updating the code in the single.php template with:
 * `<?php comments_template(); ?>`
 * It was previously set to “true” which I don’t believe is supported anymore, hope
   this helps someone.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘comments.php error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [zoacode](https://wordpress.org/support/users/zoacode/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/commentsphp-error/#post-2404715)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
