WordPress basic functions show on top in custom shortcode

You need to use the equivalent functions that return their value. Those are get_the_permalink() and get_the_title().

Most WordPress template functions that begin with the_ and echo their values have equivalent functions that return their values that begin with get_the_,

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