Well. all I can tell you is that I am having the same problem while using the grid list addon or the inventory list addons. Both are having the same problem. Every time I am trying to remove or replace a piece of armor it is giving me this error. I guess we are all will have to wait for the modders to update them or for someone that actually knows what they are doing to come up with the solution.
As I tried to explain multiple times in multiple threads and forums already
ZOs changed the loading of inventories so addons updating the inventory lists (like sort. Filter, grid, etc.) addons will make the code insecure and you'll get the error messages then.
Wait for ZOs to fix this. Addons cannot!JUST WAIT GUYS and stop telling the addons are the cause and you need to find any other working one (THERE CANNOT BE ANY WORKING ONES CURRENTLY)