Create New User Custom Field not Saving

Try hooking your save function to user_register, because it could be that the $user_id you have in your function doesn’t exists yet so there’s no user to attach the meta to.

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