This happened with my z4 too and here's what i did:
Enter twrp -> wipe -> advance wipe -> select data -> repair or change file system -> repair file system.
Reboot and the problem solved.
I wonder if you do the repair file system, would that erase anything that I need to backup first? Thx