Sounds like they made an incompatible change to the script since the last save you loaded. Looks like that variable appears at the start of day 10. Try loading a save from the previous day (day 9).