Closed TwoHeadsBrewing closed 7 years ago
Also, here's the line of code on Line 6 of the _Post Details.cshtml: var post = AsDynamic(Data["Default"]).First();
Perhaps change this to .FirstOrDefault()?
This looks like a bug related to search crawler (the DNN crawler). That's why you see PortalId -1.
So it's either something specific to your installation (it could be in any portal, the -1 prevents us from guessing which one), or if it is a bug, it's probably something we would have to improve on the blog template.
Please check if you can figure out what causes it - in case it's installation specific. If it's still something that is a bug, please post in https://github.com/2sic/app-blog
I've completely disabled the search crawler processes within DNN, but I'm still getting this error. I've also noticed that I'm getting a different error on the same module (Blog App). Should I start a new report, or post the details here? Thanks!
Please post it on the blog-app, just to keep topics together.
I'm submitting a ...