Custom category page with taxonomy filters

The solution: Add ‘operator’ => ‘AND’, to the tax_query.

'tax_query' => array(

'relation' => 'OR',

array(

    'taxonomy' => 'offer',
    'field' => 'slug',
    'terms' => array($offer),
      'operator' => 'AND',
),

array(

    'taxonomy' => 'network',
    'field' => 'slug',
    'terms' => array($network),
      'operator' => 'AND',
),

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