Ultimate Member callback function issue

In your code you can replace:

$choice = $_POST['choose_mavatam1'];

with this:

$choice = $_POST['parent_option'];

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