Hello,
There are separate template files for J3 and J4. The template files for J3 don't work on J4 after the upgrade and you need to re-download and re-install the template files.
On the other hand, after upgrading from J4 to J5, usually everything works smoothly. However, there are also template files for J5 that are slightly different than J4 template files.
Regards,
Milos