K 3.0.4 : Warning: preg_match() expects parameter #2303

it pass an array to the preg_match: array (size=6)
  0 => string 'kunena' (length=6)
  1 => string 'categories' (length=10)
  2 => string 'contacts' (length=8)
  3 => string 'content' (length=7)
  4 => string 'newsfeeds' (length=9)
  5 => string 'weblinks' (length=8)