Getting Error formatting macro and Error rendering macro Exceptions
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Getting the following errors on the dashboard, spaces, pages and user profile although the related plugin is enabled and no customization is applied onto Confluence:
Error formatting macro: recently-updated: java.lang.NoClassDefFoundError: com/atlassian/confluence/plugins/macros/advanced/recentupdate/Theme
Error rendering macro 'recently-updated' : com/atlassian/confluence/plugins/macros/advanced/recentupdate/Theme
Error rendering macro 'favpages' : com/atlassian/confluence/plugins/macros/advanced/FavouritePagesMacro$1
Resolution
Clear the content inside <confluence-installation-directory>/temp folder and restart Confluence
ℹ️ Make a backup of <confluence-installation-directory>/temp just in case
Was this helpful?