Get rid of "The Wi-Fi network ... could not be joined." message
Go to Spotlight (magnifying glass in top corner) / Finder > Activity Monitor
Search for SystemUIServer in CPU tab using the search bar located at top right corner 
Force quit it