this is for the ruleset Pathfinder 1st edition, the error happens when you unlock the token/npc and try to add or remove a spell/ability (all mods and ext are turned off, so its not the mod/ext)
Zacchaeus has replicated the error on discord so im reporting it as requested
Attachment 56671