It's missing a variable assigment. If you are comfortable changing code while the official is updated, this fixes it (in the file that the message says, control.lua inside the mod, which you will have to extract first)
right above line 167 create a new line with
local ore_list = global.ORE_LIST
Also, from what I see, only happens with perlin noise, so you could just use another mode in the meantime