If your PS4 controller won't charge, you can try swapping out the charging cable or checking the charging port.
Fi, there may be several reasons for it to address, such as a deactivated Wi-Fi adapter or a faulty router.