dispaly all hierarchical post types from a taxonomy

The post_parent arg to WP_Query can be set to 0 to only return top-level entries.

https://codex.wordpress.org/Class_Reference/WP_Query#Post_.26_Page_Parameters

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