Overwriting posts_per_page in new WP_Query

In the dump of your $args above, nopaging is set to 1 which disables pagination (equivalent to posts_per_page = -1).

Try setting this to false and see if it fixes your issue. You can then look into why it’s being set.

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