Post__not_in only removing first 2 pages

post__not_in should be an array of post IDs – remove the implode line and just pass $selected_check as the argument value instead of array( $new_check ).

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