How to get the top level parent term Advanced Custom Field values in the child terms

Could look into using get_ancestors();. It will get an array of all of the ancestors of the item in order from lowest to highest.

See: https://developer.wordpress.org/reference/functions/get_ancestors/

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