WP_Query() and get_posts() can’t handle over a thousand posts?

If it’s not timing out, you’re likely running out of memory.

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