is_tax() conditional tag not working

I found the solution to this, the is_tax(); method needs two arguments – the taxonomy and the term itself, so it should have been:

is_tax('news_categories', 'web')

Just as an extra point the is_archive('sites') should also have been is_post_type_archive('sites')

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