Dude the problem is if you are trying to install latest weekly firmware but you previously didn install android 7. I flashed 8.5.1 stable using old twrp, than i unlocked device, install latest twrp 3.1.1-1 and flash latest firmware. Thats all trick
PS: previously my firmware was 6.12.22