Newer versions missing in repos and less compiling errors

You can find the background and some discussion at How to build your own icingaweb2 packages for CentOS 8 as the security fix was not released for it

If you really only changed the PHP files you missed everything regarding theming which would explain the failure. I would definitely recommend building your own packages instead of a manual update strategy.