Macros not working

Upgraded version to 4.0.3. The following macros throw error while installing:

1. Macro: Attachment

Error Message: Error rendering macro 'attachment' : null

2. Macro: builder-breadcrumbs

Error Message: Error rendering macro 'builder-breadcrumbs' : com.atlassian.renderer.v2.macro.MacroException: This macro may only be used within a builder panel

3. Macro: builder-sidebar

Error Message:

Error rendering macro 'builder-sidebar' : com.atlassian.renderer.v2.macro.MacroException: This macro may only be used within a builder panel

4. Macro: Embed

Error Message:

Error rendering macro 'embed' : null

5. Macro: Insert ‘Excel’

Error Message:

Error rendering macro 'excel' : com.atlassian.renderer.v2.macro.MacroException: Either the file or url parameter is required.

6. Macro: Knowledge Base Survey

Error Message:

Error rendering macro 'kbsurvey' : null

7. Macro: Top Ranked Articles

Error Message:

Error rendering macro 'kbtoparticles' : Hibernate operation; bad SQL grammar ; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'confluence.os_propertyentry' doesn't exist

8. Macro: set-flag

Error Message:

Error rendering macro 'set-flag' : com.atlassian.renderer.v2.macro.MacroException: A flag name is required

2 answers

2 votes
David Simpson Community Champion Jan 12, 2012
  1. Browse to Confluence Admin | Configuration | Plugins and check that these are all present and fully enabled -- all modules are enabled.
  2. Check that versions of each of the these plugins that is installed is Confluence 4.0.x compatible
    e.g. see Theme Builder - Confluence 4 EAP for information on a Confluence 4.x compatible version of Theme Builder
  3. Upgrade (or perhaps disable) all the macros that are not compatible with Confluence 4.x
  4. Troubleshoot the remaining problem plugins
1 vote

Hi Kavita,

Are you able to replicate this behavior in the newer confluence versions? I believe this error could be caused by some corruption in the plugin system of confluence and you can try to reset the plugin system using this documentation and also run the query below to clear all third party plugins:

DELETE FROM plugindata;

Note this will remove all third party plugins and you'll have to install them again. This might do the trick.

Cheers,

Rodrigo

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 Tuesday 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 ...

468 views 19 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