Python error line 1094 and line 38


Python: Traceback (most recent call last):
File “C:\Users\Taspe\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\rig_tools\rig_functions.py”, line 1094, in execute
reset_all_controllers.reset_all_controllers()
File “C:\Users\Taspe\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\rig_tools\reset_all_controllers.py”, line 38, in reset_all_controllers
saved_layers = [layer_bool for layer_bool in bpy.context.active_object.data.layers]
AttributeError: ‘Armature’ object has no attribute ‘layers’

gonna take a wild guess here- looks like your armature object has no attribute called layers

must be something coded before bones collections and was expecting layers instead.
try that in older version of blender before bones collections like 3.6