Click on the Apple icon on the left-hand corner
Click System Settings
On the left-hand menu, click Network
From the services on the right, Right-Click on Wi-Fi, then click Delete Service
You will be asked to confirm if you want to delete it, click Delete
You will see that Wi-Fi has been removed from the Network services options.
Click the 3 dots on the bottom right corner
Click Add Service...
From the drop-down menu select Wi-Fi
Then click Create
Wi-Fi is now on your list of available Network services.
Click on Wi-Fi
Toggle the switch to turn Wi-Fi on