HELP- ESP32 stopped working

Please format your code correctly, I can’t read it as-is. Point number 10 says how to:

But I also don’t see anything about the last additions that should cause it to crash.