Problem displaying replies as part of author’s latest comments on author page

My bad. Should have added a foreach for the replies as well.

 <?php $args = array(
        'user_id' => $curauth->ID,
                  'number' => 5,
                'status' => 'approve',
                'parent' => 0
                );
 $comments = get_comments($args);
    if ( $comments )
 {
foreach($comments as $c){
echo '<ul id="authorcomments">';
echo '<li>';
echo '<a id="authorcommentlink" href="'.get_comment_link( $c->comment_ID ).'"> ';
echo get_the_title($c->comment_post_ID);
echo '</a>';
echo "</br> <div id='authorcommentexcerpt'>" .  get_comment_excerpt( $c->comment_ID );
echo "</div></li>\n";
echo '</ul>';


$parent_comment_id = $c->comment_ID;
$comment_meta_args = array(
                           'status' => 'approve',
                           'parent' => intval($parent_comment_id),
                           'number' => 3
                           );
$replies = get_comments($comment_meta_args);
foreach($replies as $r) {
echo '<ul id="authorcomments2">';
echo '<li>';
echo '<a id="authorcommentlink2" href="'.get_comment_link( $r->comment_ID ).'"> ';
echo get_the_title($r->comment_post_ID);
echo '</a>';
echo "</br> <div id='authorcommentexcerpt2'>" .  get_comment_excerpt( $r->comment_ID );
echo "</div></li>\n";
echo '</ul>';
}

}




 } else { echo "<p style="text-align: center"> Nothing! </p>\n";} ?>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)