DHT11 and esp 32

That line offers no hint to the OP?

And your code. How are we supposed to tell you who, what, where to fix when we don't have access to the broken part?

Please.

Please.

Please.

Post your code in code tags?