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.

Cheers,
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: http://support.atlassian.com

Good Luck

Thomas

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?

Michael

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
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

247 views 4 10
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