You’re using pin D3 (GPIO 0) whic isnt reccomended for sensors, see this:
Also, can you check that your DHT library is up to date?
Pete.