Why this filter hook is not working when passing parameters?

try this

$users = apply_filters(‘my_get_users’,$group);

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