Yes you have this problem because you have installed the dream2lte version of the rom and your twrp is dreamlte, you ahve to flash both with dreamlte!WARNING:
i tried flashing back Lineage OS 9 from backup but it would not boot up and is soft-bricked
i can only boot into download mode and only twrp-3.1.1-2-dreamlte.img works, all other's fail to boot (just freezes on TWRP logo and sometimes flickers black as it re-trying)
when i try to manually flash Lineage 9 it sais "error: this package is for dreamlte. this device is ."
i tried restoring TWRP 3.6 and Lineage OS 19 from backup but it still wont boot (just freezes again)
IT IS NOT BOOTLOOPING
restoring the stock S8 rom that i backed up a year ago with TWRP seemed to fix it, not sure if it has something to do with EFS and/or Baseband partition or some other partition (i has every partition backed up) so i am not sure what fixed it