Display recent comments with gravatar and excerpts?

Use $comment->comment_post_ID instead of $comment->post_id.

Also you don’t need get_post(…). Just use get_the_title instead of your $post_obj and related code…

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