Display ads by location [closed]

You can get what you want by doing this:

'order'=> 'ASC', 'orderby' => 'count'

This will order the result of get_terms by number of posts each term has

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