Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sjoerd Stottelaar 31 posts 189 karma points
    Feb 07, 2019 @ 20:47
    Sjoerd Stottelaar
    0

    Hi there,

    Today I wanted to try and implement a macro in my project to cache the navigation in a macro. When making the macro using the back office of Umbraco 8 and implementing it within my template I get an error. It states "Unsupported macro type." without any further information.

    I'm calling the macro in my template using:

    @Umbraco.RenderMacro("ListTopMenuItems")
    

    The ListTopMenuItems macro contains:

    @inherits Umbraco.Web.Macros.PartialViewMacroPage
    
    <span>Macro test</span>
    

    I get the following error message:

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Exception: Unsupported macro type.

    Thanks in advance!

Please Sign in or register to post replies

Write your reply to:

Draft