I got the solution for you
I found out that the reason for you being unable to flash TWRP is the prenormal kg state.Its a new feature on pie updates that prevent you from flashing custom binaries. Fortunately there's a solution right here in this forum...