Object reference not set to an instance of an object after change in Content
Hi all
I have a content editor who made a change in Umbraco backoffice about how a link should open. She published the page and our entire website goes down with a Object reference not set to an instance of an object.
Can anybody see what the problem is? Notting in our code is changed.
Spontaneously, it feels like you're missing a nullcheck somewhere in the code. It can be anything but from the looks of your error message I would start looking in your MasterController for any code statements where you might use lambda Where(), First(), Last() etc and make sure you add null checks (if's) to prevent the infamous "Object reference not set to an instance of an object" error.
Object reference not set to an instance of an object after change in Content
Hi all
I have a content editor who made a change in Umbraco backoffice about how a link should open. She published the page and our entire website goes down with a Object reference not set to an instance of an object.
Can anybody see what the problem is? Notting in our code is changed.
Spontaneously, it feels like you're missing a nullcheck somewhere in the code. It can be anything but from the looks of your error message I would start looking in your MasterController for any code statements where you might use lambda Where(), First(), Last() etc and make sure you add null checks (if's) to prevent the infamous "Object reference not set to an instance of an object" error.
Try to look in
MasterController.View(MasterViewModel model)
for something that is missing a null check.is working on a reply...