Shortcode / WP_Query in post changes context

You need to call wp_reset_postdata() after a secondary query to restore the global $post to its original context.

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