After upgrading a site from CMS 10 to CMS 11 I was faced by this exception:
Edit and admin mode works, but every page returns this YSOD (yellow screen of death) exception page.
In the middle of the list of breaking changes for CMS 11 there is a clue:
It is no longer supported to get an ILogger instance from IOC container.
In every page controller, I had:
private readonly ILogger _log;
public DefaultPageController(ILogger logger)
_log = logger;
Replacing this with:
private readonly ILogger _log = LogManager.GetLogger();
…resolves the issue.
I’ve previously described how you can move built-in Episerver properties to a different tab. This will only work perfectly if the destination tab already contains another property for the same page. If not, the title will look strange, the sort order will be missing, etc. Today we will move a property to a non-existing tab!
Read more →
In Episerver CMS, you are probably familiar with the fundamental concept of grouping properties into tabs. You may place your own properties in the existing tabs (Content, Settings etc) or create your own tabs with descriptive names.
You may, however also tamper with the special tab PageHeader!
Read more →