Team My hotackes is working till dnn version 9.13.3. but when I upgrade to 10.2.1 I am getting null refrence error and this is code which i am using in hotcakes
protected override void OnInit(EventArgs e) { base.OnInit(e);
var crl = new ClientResourceLoader(); Page.Form.Controls.Add(crl); Page.Form.Controls.Add(_phDependencies); _ltMiniProfiler = new LiteralControl(); Page.Form.Controls.Add(_ltMiniProfiler); var cds = ClientDependencySettings.Instance; if (cds != null) { HccPageHeaderProvider.Register(cds); HccBodyProvider.Register(cds); } } and line HccPageHeaderProvider.Register(cds); giving exception and exception which we are getting is shown in attached screenshot
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.