How can I recover content of page with "Unknown macro: 'numberedheadings'"


  • Confluence 5.10.2
  • CentOS 7.2.1511

We see several pages that seem to be empty with the content:

Unknown macro: 'numberedheadings'

If I look back in the history of the page I see one change where the page goes from lots of content to just the error message.

I'm assuming that the reason all content is gone is that this container works as a macro, ie. the original content of the page was pasted into the macro and that it is stored as XHTML content inside an XML element that's in a different namespace?

Is there some way to recover the XHTML content?  Or is the version before the macro was introduced the last version that is available?

It is possible that Confluence has been upgraded after the numberedheadings was introduced on the page, and that the numberedheadings macro wasn't present in the new confluence at the time of the import. If this is the case, would that affect whether the content is actually present or not?



- Steinar

1 answer

This widget could not be displayed.
Stephen Deutsch Community Champion Jan 23, 2018

Well, the easiest way to fix the issue would be to just reinstall the Numbered Headings app. It's free anyways, and compatible with most versions of Confluence.

Another option would be to create a user macro with the macro name being "numberedheadings", body type "Rendered", and template code as

## @noparams

After saving, you should be able see the content again, and then you can copy/paste the content to get it out of the macro. You can find all pages that have instances of the numberedheadings macro by searching for 


Thanks! I think I will try to temporarily install the missing macro, but haven't gotten around to it yet.

I will post back on this thread with the results when/if I get around to it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

599 views 8 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you