'Unknown key:"Error while running the oninit: ...Data\Roaming\Factorio\temp\currently-playing\control.lua:39: attempt to index field 'wall' (a nil value)"'

I have tried to restart the game, to no effect. The bug persisted through a restart.
Edit: Specified which campaign