You changed the system with flashing TWRP and rooting. AFAIK you can't encrypt your device in this configuration.My device is not encrypted because when I enter the TWRP I can explore the internal sdcard folder structure.
I have flashed the forceencrypt disabler script because it is a requirement to get root privileges with twrp.
I am looking for a way to encrypt my device.