public function user_register($user_login,$user_password,$user_first_name, $user_last_name, $country, $city){ //Регистрация
$STH = $this->PDO_OBJECT->query('SELECT COUNT(*) from where user_login="$user_login"');
$STH->setFetchMode(PDO::FETCH_ASSOC);
$STH->execute();
}
Выдает вот такую ошибку
Call to a member function setFetchMode() on a non-object
В чем дело?