Things I've heard about a cyclist getting "doored":
1) being in the wrong place on the road (which happens to be the cycle path!)
2) not wearing enough high-vis
3) not having brighter lights
4) going too fast
5) cycling with a dog
6) not being in a car
7) not "expecting the unexpected"
8) having the wrong kind of bike
There are probably more.
All of this before /even considering/ that *the person opening the car door did not look first*. Spot the problem.