Custom Posts on homepage

Try this, should work:

function add_my_post_types_to_query( $query ) {
    if ( ( is_home() || is_front_page() ) && $query->is_main_query() ) {
        $query->set( 'post_type', array( 'post', 'post_review_key' ) );
    }
}
add_action( 'pre_get_posts', 'add_my_post_types_to_query' );

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