Advanced Custom Fields into functions.php

Check that ACF included in your theme, if not than include acf. Try to use following code:

if( !class_exists('Acf') )
    include_once get_stylesheet_directory_uri() . '/advanced-custom-fields/acf.php' );

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