GPIO27 is wired to LoRa MOSI
GPIO19 is wired to LoRa MISO
To prevent issues you should not use these GPIO’s to trigger external wakeup interrupts from a PIR.
Not relevant for your issue, but note that Heltec Wifi LoRa 32 V2 has I2C related configuration issues.
See the following post for more information.