How to fix "Unknown macro", "macro is not in the list of registered macros"?

Last modified by Lucian Chevereseanu on 2026/04/28 12:49

A user logs in and tries to use the spaceindex macro in one page, but he gets the following error:

The spaceindex macro is not in the list of registered macros. Verify the spelling or contact your administrator.

registered.png

What can be done in order to correct the problem is:

  • log in as admin and edit in object mode the page that contains the macro definition (using "Ctrl+g" on your keyboard, navigate to XWikiSyntaxMacrosList or see another helpful FAQ regarding how to reach macro home page)
  • check the value of the Macro visibility property
  • if the value of the property is Current User put instead Current Wiki 

admin visibility.png

Logging back again with the user that got in the first case the error, the error disappears and the macro is showed correctly:

aftercorrection.png

Get Connected