I had the same issue. To solve it, i did the following -
Got back to pie ROM on my phone (by TWRP Backup restore or flashing pie ROM)
Put sim in Slot 1. Make sure it works in Pie ROM.
Thn leaving the sim in slot 1, clean flash this ROM.
Now it should be perfectly working.
Tell if it worked!