Last time i checked his links, his twrp is 3.2.3. i'll conceed that he did at one point release a twrp 3.3.1, which had working encryption. Twrp team updated to 3.4.0 before i had a chance to make necessary edits to enable encryption, and i had a death in the family.I'm on SM-J500M. Using j5lte version. Encryption doesn't work, it just triggers a soft restart. Even on a new wipe, no Magisk, no GAPPS, your TWRP, it doesn't work. It would be a deal breaker but your ROM works perfectly other than that!
I just registered to the forum. I can't code but I can handle my way through a terminal. Do I send you logs? something something adb logcat. I can figure it out. DM me for logs
EDIT: Also, what's the difference between official TWRP and your TWRP? The official thread doesn't have the links but their website does. 3.4.0-0 even.
EDIT 2: The error I got on logcat was:
Formatting the DATA partition as EXT4 did the trick. I could encrypt my device!
I'm not sure too much about encryption, or why it worked after the ext4 wipe. Some things i'm still learning.