the_excerpt not displaying

You need to be using setup_postdata

foreach($all_posts as $post):
    setup_postdata($post);
    // the rest of your loop

If you look at the docs for get_posts you will see that in all of the examples.

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