Different number of posts showing in development vs production server

As noted by @s_ha_dum, I had some sticky posts. I had to use the

'ignore_sticky_posts' => true 

argument inside the WP_Query.

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