TTGO LoRa ESP32 OLED - Error when compiling

That's quite possibly a clue. You would appear to have at least 9 different libraries that offer Wifi support installed. The IDE doesn't know which library is the proper one, and has chosen the wrong one.