Happened even with without any magisk modules installed. I think the problem was on twrp side and its encryption removal. Anyway installed clean and back in business again. Phone encrypted but that is OK since the latest twrp can decrypt and backup data without issues.Have u installed any sound mod in magisk like viper ?
When yes then u have to reinstall after update