• 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)
  • 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?

    Same problem. I am using custom post types that use custom single templates and wonder if it’s related.

    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.