Find the URL of the current plugin directory

Try plugin_dir_url():

$new_avatar_url = plugin_dir_url( __FILE__ ) . '/avatar-1.jpg';

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