Warning: Invalid argument supplied for foreach() [closed]

$front_values does not contain an array. The get_post_custom_values() function does not always return an array. In this case, use this to force an array:

$front_values = (array) get_post_custom_values( 'Homepage_Blog_01p', get_the_ID() );

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