The error means that your "Constants" mod in AppData is old and the code is no longer compatible with the current Godot engine. Either delete the folder or get the bugfix. The original globals.gd file has the line "farmmana = 0," which only works for new progresses and evades the backwards compatibility problem of this thread.