Boot into factory mode and test wifi and Bluetooth
Also you can try to reflash the phone if it wont work then its a hardware problem caused by over heating that's caused by fast charging. I had the same phone that developed that issue and it couldn't be fixed