While loop in functions.php outputting the_title() of each post on frontpage

While loop in functions.php outputting the_title() of each post on frontpage

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