Blank page after replying to a comment in Wordpress
<p>I'm building a Wordpress theme of my own, and having a problem with my comment-page. I can post comments, but when I press the reply-button to reply to my own comment, I get a blank wp-comments-post.php - page when posting my reply. I've tried some solutions, but it's still not working. Any ideas? </p>

<p>This is my comments.php file :</p>

<pre><code>&lt;?php
/**
 * The template for displaying Comments.
 *
 * The area of the page that contains comments and the comment form.
 *
 */
/*
 * If the current post is protected by a password and the visitor has not yet
 * entered the password we will return early without loading the comments.
 */
if (!empty($_SERVER['SCRIPT_FILENAME']) &amp;&amp; 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    die('Please do not load this page directly. Thanks!');
if (post_password_required()) {
    ?&gt;
    &lt;p class="nocomments"&gt;Det här inlägget är lösenordsskyddat. Knappa in lösenordet för att se inlägget.&lt;/p&gt;
    &lt;?php
    return;
}
?&gt;

    &lt;div id="commentsbox" class="post"&gt;
        &lt;?php if (have_comments()) : ?&gt;
            &lt;h3 id="comments"&gt;
                &lt;?php comments_number('Inga kommentarer',
                    'En kommentar',
                    '% kommentarer'); ?&gt;
                    än så länge.&lt;/h3&gt;
                        &lt;ol class="commentlist"&gt;
                            &lt;?php wp_list_comments(array(
                                'avatar_size' =&gt; 70)); ?&gt;
                        &lt;/ol&gt;
                            &lt;div class="comment-nav"&gt;
                                &lt;div class="alignleft"&gt;
                                    &lt;?php previous_comments_link() ?&gt;
                                &lt;/div&gt;
                                    &lt;div class="alignright"&gt;
                                        &lt;?php next_comments_link() ?&gt;
                                    &lt;/div&gt;
                            &lt;/div&gt;
                                &lt;?php else : ?&gt;
                                    &lt;?php if (comments_open()) : ?&gt;
                                        &lt;?php else :  ?&gt;
                                            &lt;p class="nocomments"&gt;Kommentarer är avstängda&lt;/p&gt;
                                    &lt;?php endif; ?&gt;
                                &lt;?php endif; ?&gt; 
                                    &lt;?php if (comments_open()) : ?&gt;
                                    &lt;div class="commentform_wrapper"&gt;
                                        &lt;div class="post-info"&gt;
                                        &lt;/div&gt;
                                            &lt;div id="comment-form"&gt;    
                                                &lt;?php $comment_args = array( 'title_reply'=&gt;'Vänligen lämna dina synpunkter och kommentarer:',
                                                    'title_reply_to'    =&gt; __( 'Svara %s' ),
                                                    'cancel_reply_link' =&gt; __( 'Stäng svar' ),
                                                    'label_submit'=&gt;'Skicka',
                                                    'reply_text' =&gt; 'Svara',
                                                        'fields' =&gt; apply_filters( 'comment_form_default_fields', array(
                                                            'author' =&gt; '&lt;p class="comment-form-author"&gt;' . '&lt;label for="author"&gt;' . __( 'Namn' ) . '&lt;/label&gt; ' . ( $req ? '&lt;span&gt;*&lt;/span&gt;' : '' ) .
                                                            '&lt;input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /&gt;&lt;/p&gt;',   
                                                            'email'  =&gt; '&lt;p class="comment-form-email"&gt;' .
                                                            '&lt;label for="email"&gt;' . __( 'Mejl' ) . '&lt;/label&gt; ' .
                                                            ( $req ? '&lt;span&gt;*&lt;/span&gt;' : '' ) .
                                                            '&lt;input id="email" name="email" type="text" value="' . esc_attr(  $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /&gt;'.'&lt;/p&gt;',
                                                            'url'    =&gt; '' ) ),
                                                            'comment_field' =&gt; '&lt;p&gt;' .
                                                            '&lt;label for="comment"&gt;' . __( 'Kommentarer' ) . '&lt;/label&gt;' .
                                                            '&lt;textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"&gt;&lt;/textarea&gt;' .
                                                            '&lt;/p&gt;',
                                                            'comment_notes_after' =&gt; '',
                                                );
                                                comment_form($comment_args); ?&gt;
                                            &lt;/div&gt;
        &lt;/div&gt;
                                            &lt;?php endif; ?&gt;
    &lt;/div&gt;
</code></pre>

<p>And this is my single.php file, in case you need it:</p>

<pre><code>&lt;?php 
/**
 * The Template for displaying all single posts.
 */
get_header('header3'); ?&gt;

&lt;section id="headerbox"&gt;
                    &lt;header&gt;
                        &lt;h2 class="referensrubrik"&gt;Rubrik&lt;/h2&gt;
                    &lt;/header&gt;
                        &lt;p class="referenstext"&gt;Text&lt;/p&gt;
                &lt;/section&gt;

&lt;?php
        $post = $wp_query-&gt;post;
        while ($wp_query-&gt;have_posts()) : $wp_query-&gt;the_post(); ?&gt;

        &lt;article id="blogpost2" id="post-&lt;?php get_the_ID(); ?&gt;" &lt;?php post_class(); ?&gt;&gt;

        &lt;h2&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;" title="Läs mer" class="blogpost"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
        &lt;h5&gt;&lt;?php the_time('F jS, Y') ?&gt; &lt;!-- by &lt;?php the_author() ?&gt; --&gt;&lt;/h5&gt;
        &lt;?php the_content(); ?&gt;
        &lt;hr&gt;
        &lt;/article&gt;

        &lt;?php endwhile; ?&gt;

        &lt;?php if ($paged &gt; 1) { ?&gt;

        &lt;nav id="nav-posts"&gt;
            &lt;div class="prev"&gt;&lt;?php next_posts_link('&amp;laquo; Äldre inlägg'); ?&gt;&lt;/div&gt;
            &lt;div class="next"&gt;&lt;?php previous_posts_link('Nyare inlägg &amp;raquo;'); ?&gt;&lt;/div&gt;
        &lt;/nav&gt;

        &lt;?php } else { ?&gt;

        &lt;nav id="nav-posts"&gt;
            &lt;div class="prev"&gt;&lt;?php next_posts_link('&amp;laquo; Äldre inlägg'); ?&gt;&lt;/div&gt;
        &lt;/nav&gt;

        &lt;?php } ?&gt;

        &lt;?php wp_reset_postdata(); ?&gt;           
  &lt;!--Start Comment box--&gt;
                        &lt;?php comments_template(); ?&gt;
                        &lt;!--End Comment box--&gt;
&lt;?php get_footer(); ?&gt;
</code></pre>