Hi:
For people having trouble installing xiaomi.eu_multi_HM7_V12.5.1.0.QFLCNXM_v12-10 on the Redmi 7 (onclite) and ending in bootloop or booting to Fastboot mode... All you need to do is install thru the TWRP recovery the Magisk-v23.0.apk...
Note that this is an APK, but Magisk handles both installations with the same file in recent versions. So download the .apk file and rename it to .zip
HTH
edit: Before finding the correct Magisk version to install I already installed the disabled vbmeta.img file. But maybe it is not required...