get_categories не __in
$categories = get_categories(array(
'exclude' => $post_id,
));
Andrew Lautenbach
$categories = get_categories(array(
'exclude' => $post_id,
));