Upgrade Wizard Error on 7.10.25

Hey @pgr - your solution doesnt work for me. I am on 7.11.13 and I can’t upgrade. When I try to upgrade I have this exact bug in preflight check (I am on windows):

Fatal error: Uncaught Error: Cannot use object of type SplFileInfo as array in F:\xampp\htdocs\crm\include\utils\file_utils.php:57

And if I use your suggested solution - which is to download upgrade patch and install it - then the upgrade patch messes up file permissions as it was already mentioned in those threads: