Macro errors after upgrading

I resolved the velocity error by giving the right of “Script” to group “XWikiAllGroup” in the context of “Administer Wiki > Users & Rights > Rights”.

Comparing the new and old instances of XWiki v7.0.1 and v13.10.9, the “Script” right seems to be a new feature initialized to disable by default.

Thank you for your help, @vmassol. I am looking into the other issues following your hints now.