Why does my car run on D and R mode?

Hello I have a Kia car Cerato, previously when I was running it on(d) mode Do not work and now it is working and this thing bothers me because it is dangerous if one of you can know the location of the malfunction to fix it and thank you.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2942205:01crwdne2942205:0:

Schéma câblage électrique

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0