WordPress is sending an empty email after using wp_insert_user

I think this needs to live inside a plugin and not in functions.php
How to turn off email you receive when registered?

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