Hi all, today my nissan latio started having weird issues

When i set the gear to D, the car cannot move. I must use gear 1 and 2 to start the vehicle, then can set to drive before the vehicle moves off.
What could be causing this problem?

Oh btw, im new here
