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

This widget could not be displayed.

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

This widget could not be displayed.
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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

87 views 13 7
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