Cannot modify header information – headers already sent (wp_redirect in functions.php)

Try replacing wp_redirect with wp_safe_redirect and if you have php closing tag “?>” at end of files, remove them, at least you can check the header.php for php closing tag.

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