see problem Cannot initialize ESP-AT Lib
(your logs shows it isn’t working )
try installing older esp-at lib from a different source
I did, but I didn’t saved all the links were I found them
this is what I have installed (zipfiles) and added to the library and most wifi demo’s worked
https://github.com/Seeed-Studio/Seeed_Arduino_atWiFi
https://github.com/Seeed-Studio/Seeed_Arduino_FreeRTOS
https://github.com/Seeed-Studio/Seeed_Arduino_atUnified
https://github.com/Seeed-Studio/Seeed_Arduino_mbedtls
https://github.com/Seeed-Studio/Seeed_Arduino_atWiFiClientSecure
https://github.com/Seeed-Studio/Seeed_Arduino_LCD
https://github.com/knolleary/pubsubclient