Is this the addon you’re using?
It’s quite dated - originally created for v2.91. It’s code needs to be updated, to work with the version of Blender you’re using.