When you append a Gallery field to a taxonomy term, the metadata of the images will be fetched with $this->postmeta, but that method gives an instance of TermMeta because thats the postmeta relation of the related term.
I replaced $this->postmeta by a fresh PostMeta static class, because an image is always a Post.
When you append a Gallery field to a taxonomy term, the metadata of the images will be fetched with $this->postmeta, but that method gives an instance of TermMeta because thats the postmeta relation of the related term.
I replaced $this->postmeta by a fresh PostMeta static class, because an image is always a Post.