Second wp_query doesn’t appear to be working

Because you’re calling get_post_permalink etc, I think you may need to add wp_reset_postdata(); as well, per this section in the codex:

http://codex.wordpress.org/Class_Reference/WP_Query#Interacting_with_WP_Query

Hope this helps, best of luck!

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