Get a list of tags present in a paged front page

$filtros = array(); will always returns null, meaning it’s an empty array.

To make your code works, you can try :

   $filtros[] = $tag->name;

instead of array_push(),

Hope it works after!

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