Which function is called after update any field of user from any where of the site

the action update_user_meta is done before the value is saved in database

you can try this code

add_action("update_user_meta", function ($meta_id, $user_id, $meta_key, $_meta_value) {


    if (current_user_can('edit_user', $user_id)) {

        // do something


    }


});

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