What’s wrong with this post__not_in argument?

try:

$not_in = get_option('sticky_posts');
$not_in[] = $post->ID;
$myposts = get_posts(
                    array('cat' => "$cat,-$catHidden", 
                        'post__not_in' => $not_in, 
                        'numberposts' => 10;
                        )
                    );
foreach($myposts as $idx=>$post){//do something}

hope this helps

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