Confluence - Blog Post Macro rendering error

After adding a new blog post, all the blog post macros display this error message:

Error rendering macro 'blog-posts' : com.atlassian.renderer.v2.macro.MacroException: com.atlassian.confluence.pages.Page cannot be cast to com.atlassian.confluence.pages.BlogPost

I have googled this error and a few other users have it as well but no solution is desplayed anywhere.

Thanks for helping!

3 answers

Hi Cornelius,

The cause of your issue might be due to a corrupted plugin cache or due to third party plugin. Before you proceed to create support ticket, you might want to try the following steps to narrow down the root cause of your issue

  1. Shutdown Confluence instance
  2. Remove the following directories
    • <confluence-home>/bundled-plugins
    • <confluence-home>/plugin-cache
    • <confluence-home>/plugins-osgi-cache
    • <confluence-home>/plugins-temp
    • <confluence-home>/bundled-plugins_language
  3. Rename <confluence-home>/logs/atlassian-confluence.log
  4. Restart Confluence
  5. Please try to replicate the issue and see if it persist
  6. If the issue still persist, please try to enable plugin safe mode and see if the problem persist

The above steps will ensure that the cause of your issue is not due to third party plugin and corrupted plugin cache on your end. Please attach the fresh logs created by Confluence during the restart process on the created ticket so that our engineer could review it for you.

Hope it helps.

Septa Cahyadiputra

0 vote
Thomas Schlegel Community Champion Jun 28, 2012

Hi Cornelius,

I don't have an answer, but I think, you should contact Atlassian Support with this:

Good Luck


Hi Cornelius,

I had the same issue. My blogpost was somehow transformed into a "normal" page. Deleting the page and a rebuild of the index solved the problem.

How did you fix this? Support Ticket at Atlassian?


Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

288 views 38 9
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot