Use this function to determine if Taxonomy is hierarchical or not:
Function Reference/is taxonomy hierarchical « WordPress Codex
Example:
// taxonomy term archives
$post_type = get_post_type();
$taxonomies = get_object_taxonomies($post_type);
if(!empty($taxonomies)){
foreach($taxonomies as $taxonomy){
// only want hierarchical -- no tags please
if(is_taxonomy_hierarchical($taxonomy)){
$terms = get_terms($taxonomy);
if(!empty($terms)){
echo "<ul>";
foreach ( $terms as $term ) {
echo '<li><a href="'.get_term_link($term->slug, $taxonomy).'">'. $term->name . "</a></li>";
}
echo "</ul>";
}
}
}
} // this was missing