Massive errors with Pro Macros since upgrade to Xwiki 15.9

Since the upgrade to Xwiki 15.9. (Debian 12.1, Tomcat9) all pages including Pro Macros have lots of errors like this:

Failed to execute the [include] macro. Cause: [Current user [xwiki:XWiki.USER] doesn't have view rights on document [test:Licenses.Code.VelocityMacros]].

In the tomcat logs, it shows up like this:

Error on too many recursive includes for topic Licenses.Code.VelocityMacro


WARN  c.x.x.XWiki                    - Exception Including Topic Licenses.Code.VelocityMacros 
com.xpn.xwiki.XWikiException: Error number 9001 in 9: Access to this document is denied:  Licenses.Code.VelocityMacros

I did not see this errors immediately, because as admin users, there are no errors, only for regular users.

We found this Code to execute

{{include reference="Licenses.WebHome" /}}

in the object editor at said page (, could this be the issue?

Thanks in advance!


I can’t reproduce on a clean XWiki 15.9 instance. Here’s what i did:

  • Created a simple user
  • Installed Pro Macros version 1.12
  • Got a trial license
  • Login with the simple user
  • Create a new page and add the Note and User Profile macros
  • Save the page

Everything was looking good. I don’t see any of the errors you mentioned. I also tried with the guest user and after a restart of the server. Same. Which of the Pro Macros give you the error? Are you using the latest version of the Pro Macros? Do you have a valid license listed in the “Licenses” administration section? Maybe something wrong happened during the upgrade.

Note that this forum is for the XWiki Open Source project, so you should report issues with paid extensions to the company that provides and maintains them. In this case I’d use the “Contact us” link on the top bar of , or the “Issues” link from the panel.

Hope this helps,

Thank you for your quick response!

Yes, 1.12

Yes, still valid for another year.

I did not see any errors, but maybe I did miss something… is there an option to see steps from the last upgrade in a log maybe?

Thank you, I will do that!

Issue has been resolved with the help of ProMacro Support, the culprit was a wrong permission (which I did not set, sounds like a regression in the latest update) one the Licenses page.