2001 ford explorer door issue?

I have a 2001 ford explorer sport v6, 4 wheel drive. When I open the driver door the car doesn't recognize it as open. I can still set the alarm. When I open it the door ajar light doesn't come on or anything. Does anyone have any idea what this could be? I have not checked the fuses but when I open any other door the light goes on and the door ajar light comes on.

There's a switch in the door frame like a button… While door is closed the button is pushed in which says door is closed. When door opens the switch or button pops up and tells it that the door is open which tells the lights and all that to turn on… Each door has there own… Check if its stuck in… Other wise it may need replaced unless there's no power to it then its in the wires some where… Normaly the switch is bad. They go bad often. You could swap it out with another doors switch for testing purposes before buying one… Easy to pop out and back in…

you will find this switch by the door hinges on the vehicle body itself…