NullReferenceException with deployed Orchard Homepage using PJS.Bootstrap

Topics: Customizing Orchard, Troubleshooting, Writing themes
Feb 18, 2015 at 8:26 AM
Hey Guys,

I'm using orchard with my own theme based on PJS.Bootstrap. Locally everything works perfectly, but once I deploy it on the server I get the following error in MyTheme/VIews/Layout.cshtml:
Zeile 62: }
Zeile 63: @if (Model.Navigation != null)
Zeile 64: {
Zeile 65:     <div class="navbar-wrapper">
Zeile 66:         <div class="navbar @(settings.UseInverseNav ? "navbar-inverse" : "navbar-default") @(settings.UseFixedNav ? "navbar-fixed-top" : string.Empty)">
Once I change the Theme to "TheThemeMachine" it is working again. My assumption is that at deploying Orchard is missing some Libraries to deploy but I cannot figure out what Im doing wrong.

I really appreciate your Help!

Feb 18, 2015 at 10:33 AM
What is the error you get?