HAS_HEATED_BED has to be defined
this is true when HAS_TEMP_BED && HAS_HEATER_BED is defined
HAS_TEMP_BED is true when HAS_TEMP_ADC_BED
HAS_HEATER_BED is true is PIN_EXISTS(HEATER_BED)
So
Either you have not defined a pin for your heated bed, or you have not defined a pin for your bed thermistor
this is true when HAS_TEMP_BED && HAS_HEATER_BED is defined
HAS_TEMP_BED is true when HAS_TEMP_ADC_BED
HAS_HEATER_BED is true is PIN_EXISTS(HEATER_BED)
So
Either you have not defined a pin for your heated bed, or you have not defined a pin for your bed thermistor