Shortcode not working with WordPress updated

Try removing the brackets and adding the full url:

$url="http://theurl.com";

And for clarity, it’s best to use different names for the tag and function name:

add_shortcode('aggrenda', 'aggrenda_func');
function aggrenda_func() {

    $url="http://theurl.com";

    $response = wp_remote_get( $url );

    echo($response);
}

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