Thanks again. Yes, that worked! Tag group titles are now being output correctly.
Many thanks for your time and help,
Rob
Thanks for the reply. The array is fine, but name is NULL. Here’s the start of the var_dump output:
array(9) { [1]=> array(4) { ["name"]=> NULL ["term_group"]=> int(2) ["tags"]=> array(38) { [0]=> array(7) { ["term_id"]=> int(5255) ["link"]=> string(47) "https://www.the-medium-is-not-enough.com/tag/24" ["description"]=> string(0) "" ["count"]=> int(298) ["slug"]=> string(2) "24" ["name"]=> string(2) "24" ["tg_font_size"]=> float(19) }