I want to set the shipping_first_name metadata value to match the first_name metadata value for a User on registration using a function

I want to set the shipping_first_name metadata value to match the first_name metadata value for a User on registration using a function

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