Please don’t tack a “me too” post onto other topic… particularly one almost a year old
Supply details on the exact hardware you are using (that other topic was using a Robotdyn board with integrated ESP) and your code that causes the issue.
Please properly format the code asr required in the Welcome Topic.