That error message means that you have an fairly old version of the mod. The redress code is fairly new.
Viewing post in Aric's Expansion Rebred
I'm using aric's mod v. 1.6. Sorry if I'm misunderstanding.
Sorry if I'm asking too much, but can ankmairdor make script to changeplayer.exposed value to false when I preesing button leave to town or C button at mansion. I'm novice in coding, I've tried it so many times but failed. If too many code will change the mods then don't bother to make it.