I have a problem using pagetree2 with the parameter @home Unable to render content due to system error: java.lang.ClassCastException: com.adaptavist.confluence.theme.engine.macros.deprecated.Pagetree2Macro cannot be cast to com.atlassian.renderer.v2.macro.Macro.
In some spaces it works and in others not. When it doesn't work, only the home page is listed but the tree is not expanded.
I have tried all the other parameters (@space, @parent ...). The problem is only on this parameter. It depends of the space and not if the home page is named home or not.
Have you an idea?
Thanks for your help.