my esp8266 started randomli turning on and off. I found out that something is missing, but I dont know what it is. in the photo the missing thing is the second square from the midle. The arrow is roughly pointing at it.
Please describe the problem in more detail. As I think, the "missing parts" has nothing to do with it.
Sorry, after some time playing with it, it is not the power problem like you said. The only thing that I found so far is the web page that it is creating (maybe code problem), sometimes the wifi hotspot just turns off.
Googling for the board shows that it seems to be a not populated option. I think it's nothing to worry about.
Maybe you have a bad connection on your breadboard or a problem in your code.
What is connected to the board? I see four wires.
Have you tested the basics without anything connected? Does the same problem happen?
Maybe time to post your sketch so people can have a look at it; I'm not an ESP32 user so can't advise further.