Ooooh, the error message happens when you kill the target with a poison glaive. Gonna fix it soon.
Just got the same first bug today in the base game, not even the dlc.
You can quick fix it with the world editor. Target the party member, hit F2, click, type "type=sentient" then ENTER, then ESC. Otherwise I have no idea.