How to fix "Error rendering macro 'toc' : null" error

Newbie here and I am trying to create my first Confluence OnDemand Template.

I am attempting to use the Table of Contents macro but get "Error rendering macro 'toc' : null".

I have Headings defined in the Template.

What else am I supposed to do?

4 answers

3 votes

I've found a bug report that corresponds with the problem you're seeing:

Please do head over and vote for it to increase it's exposure.

It will work when someone creates a page from template. I went through this issue as well.

I actually recieved the error when I was attempting to create a templlate from scratch. You seem to be saying that you need to start with an existing template in order to create a template. Sort of a Chicken and Egg fix :-)

Thank you,

No, that's not what he is saying. He's saying that it will show an error when you preview while editing/creating a template, but that it will work fine when users create pages based on the template.

Atlassian should test this issue and either answer the question or open a defect. I keep getting emails that I should resolve the issue. I think these emails should be sent to Atlassian support.

Spencer

Hi,

I went to the defect report but do not understand the voting process

Spencer

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Goff-Dupont
Published 2 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

37 views 2 3
Read article

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