Woocommerce filter function not updating

I have a similar code that is working fine for me. Try putting your ids into an array like so:

$cat_args['exclude'] = array('12, 13');

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