How to get all users by custom current user meta (array)?

This function will give you the ids of blocked users

get_user_meta( $user_id, '_block', true );

here $user_id is yours

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