TWRP showing error 7 even when the rom is correct
I also had this issue but I installed Android Revolution HD and it worked! It booted and said that the /data is corrupted and it required a factory reset. I gave the only option Reset and it booted back to twrp(i was using it) and there it automatically formatted /data!
Hope it helps you.