You have configured firmware to use a z probe. But you have not set a pin where the z probe is connect to. Search
#define Z_PROBE_PIN
I think you still have it on -1 which means not connected. If you use the config tool select the z probe bin there with the dropdown.