Close

Cannot view category page. Keep getting an error

[email protected]
6 years ago
#14197 Quote
Avatar
  • 1
Hi,

I seem unable to view the category page. I keep getting the following error -

The following sections have been defined but have not been rendered by the page at '/Themes/Urban/Views/Shared/_ColumnsTwo.cshtml': 'Breadcrumb'. To ignore an unrendered section call IgnoreSection("sectionName").

Regards,
Tarek
anton_ivanov
6 years ago
#14213 Quote
Avatar
  • Moderator
  • 277
Hello,

You've submitted a ticket and the problem was resolved. I will write the cause of the issue in this post for any future client of ours that has a similar problem.

The error was caused by the the following code missing from the _ColumnsTwo.cshtml file:

@if (IsSectionDefined("Breadcrumb"))
{
    @RenderSection("Breadcrumb")
}
Regards,
Anton Ivanov
Nop-Templates.com