I have a problem in one of my site. The site was running smoothly. Unfortunately the front end broke down. Umbraco administration is fine only front end is broken.
In above image you can see the error is in macro rendering, for a instance if I remove that macro then getting error in another macro. I have a previous backup copy which works fine. No changes in content just re-publish then above problem occurs. I have tried with U6.0 and U6.0.2
There is just code for navigation. The problem should not be with code because I am using same in many existing sites. If I remove the macro rendering line then I am getting error to
Front end broken while publishing home node
Hi all,
I have a problem in one of my site. The site was running smoothly. Unfortunately the front end broke down. Umbraco administration is fine only front end is broken.
In above image you can see the error is in macro rendering, for a instance if I remove that macro then getting error in another macro. I have a previous backup copy which works fine. No changes in content just re-publish then above problem occurs. I have tried with U6.0 and U6.0.2
Thanks in advance
Kind Regards
PTamang
Hi Passang
What does the content of your TopNavBar look like?
/Jan
Hi Jan,
There is just code for navigation. The problem should not be with code because I am using same in many existing sites. If I remove the macro rendering line then I am getting error to
@{
Layout = null;
<!--error is pointed to below line.-->
var homepage = Model.Content.AncestorOrSelf(1);
}
is working on a reply...