Trying to get property of non-object notices in comment-template.php

This notice comes because object $comments is null. So the have_comments() must wrap all the thing to be sure there are comments before using any property.

in your case :

<?php if ( have_comments() ) : 
 /* the code */
endif; ?>

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