The bizarre solution returns all terms if you need to display only those terms that you can use for the message:
$terms = wp_get_post_terms( $post->ID, 'taxonomy-term', array("fields" => "names") );
echo implode(', ',$terms);
Make sure the correct "taxonomic term" is correct!
source
share