Open drivers door
Put key in ignition and turn on ignition but do not start the engine
Press and hold the lock button on the remote for 5 seconds
Turn off the ignition and remove the key
Wait 5 seconds then test the system
All should now work correctly.
The above assumes there is no fault in the wiring of course