Anet A8 with Marlin firmware: Auto Home is crashing into bed
You should un-comment the following line to get rid of the Probing failed error message:

// #define MIN_SOFTWARE_ENDSTOP_Z // Line # 0907 Commented


to

#define MIN_SOFTWARE_ENDSTOP_Z


You have basically disabled the use of the minimum Z endstop, while in fact you are using one, the difference is that it is a sensor now, not a mechanical switch.

Please note the distance of the sensor to the bed, it looks as though it is pretty far away. Before sending an auto home command, it is better to test the endstop triggering beforehand; an external application (e.g. Pronterface, Repetier-Host, OctoPrint, etc.), USB cable and a laptop/computer can be used to send G-code commands through the terminal of the external application. Code M119 will output the endstop trigger status to the terminal.