Comment count same for every post in homepage WP_Query

Switching out echo get_comments_number($post->ID) for echo $post->comment_count did the trick.

I have no idea why, that’s exactly what the get_comments_number() function does…

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