WP_Query only ONE post, won’t work

Change posts_per_page to 1 only, not -1.

Like this: 'posts_per_page' => 1

-1 means all.

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