WordPress Admin bar missing from custom theme

add_filter( 'show_admin_bar', '__return_true');

Add this at the end of functions.php

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