The white dwarf luminosity function – II. The effect of the measurement errors and other biases