get_avatar not working

You forgot to echo it:

<?php echo get_avatar( $user->user_email, 150 ); ?>

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