PROBLEM SOLVED!!! WeMos D1 mini code error

There are other reports of this error in the video comments:

The suggested solutions:

Ed Smith
1 year ago
I commented that line out and it compiled OK but it looks like I have a bad oled display, never easy...

Dirk-Jan Faber
11 months ago
I had the same problem. I switched the font from Open_Sans_13 to ArialMT_Plain_10. At that moment, the oled was still not showing anything. I also needed to change the i2c address of the oled display from 0x3D to 0x3C (line 71 in the ino file).

It's frustrating that the author of ESP-1ch-Gateway didn't bother to document which SSD1306 library they wrote their code for. There are several libraries for this display. It does appear that the GitHub - ThingPulse/esp8266-oled-ssd1306: Driver for the SSD1306 and SH1106 based 128x64, 128x32, 64x48 pixel OLED display running on ESP8266/ESP32 library is the one, but we shouldn't need to guess at it. This is an all-too-common problem I encounter with Arduino projects.

You also could try using the suggested updated version:

I compiled that one without errors.