get_post_class() not working well

You create that string with $classes[] = $teaser_column . ' teaser';

Use the following instead:

$classes[] = $teaser_column;
$classes[] = 'teaser';

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