It's an issue in Cerys, it's trying to call it before the function is defined.
You can either call the function in data-updates.lua, or add VP as an optional dependency to force Cerys to load after VP.
Not sure why it would've broken in 2.1 though? I assume Cerys just happened to be loading first in 2.0, and that's changed for some reason.