Buddypress Member list not showing admin and mods

You don’t need this global $bp;

Try passing an array:

$id = 1;
$args = array( 'group_id' => $id, 'exclude_admins_mods' => false);
if ( bp_group_has_members( $args ) ) :

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