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

4 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

867 views 23 12
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