Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Daniel Rogers 134 posts 712 karma points
    Oct 06, 2018 @ 15:06
    Daniel Rogers
    0

    New install integration with uskinned layout

    I have just install merchello v2.5 and fastback 2.5 on umbraco 7.11.1 and are trying to integrate it with a uskinned layout.

    Starting with the catalog I have gotten this far.

    If I have no collection loaded I get the headings come up on my page.

    If I load a collection I get the following error

    This seems to have cropped up a lot but no solutions have been posted

    Value cannot be null. Parameter name: content Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: content

    Source Error:

    Line 33: if (category.Key != Guid.Empty) Line 34: { Line 35: var page = ExampleUiHelper.Content.GetCategoryPageForCollection(category.Key); Line 36: if (page != null) Line 37: {

    Source File: g:\pleskvhosts\intelligencebydesign.com.au\Merchello.intelligencebydesign.com.au\Views\Partials\IBDStorePageComponents\IBDSCStore_Catalog.cshtml Line: 35

    Stack Trace:

    [ArgumentNullException: Value cannot be null. Parameter name: content] Umbraco.Web.PublishedContentExtensions.Children(IPublishedContent content) +63 Umbraco.Web.PublishedContentExtensions.FirstChild(IPublishedContent content, Func2 predicate) +10 Merchello.FastTrack.Ui.Content.GetCatalog() +194 Merchello.FastTrack.Ui.Content.GetCategoryPageForCollection(Guid collectionKey) +115 ASP.<>c__DisplayClass1.<CategoryLink>b__0(TextWriter __razor_helper_writer) in g:\pleskvhosts\intelligencebydesign.com.au\Merchello.intelligencebydesign.com.au\Views\Partials\IBDStorePageComponents\IBD_SC_Store_Catalog.cshtml:35 System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) +10 System.Web.WebPages.WebPageBase.Write(HelperResult result) +80 ASP._Page_Views_Partials_IBDStorePageComponents_IBD_SC_Store_Catalog_cshtml.Execute() in g:\pleskvhosts\intelligencebydesign.com.au\Merchello.intelligencebydesign.com.au\Views\Partials\IBDStorePageComponents\IBD_SC_Store_Catalog.cshtml:19 System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198 System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +105 System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +90 System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +235 System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +107 Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +113 System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection) +277 System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +91 ASP._Page_Views_Partials_USNStandardPageComponents_USN_StandardPageComponents_cshtml.Execute() in g:\pleskvhosts\intelligencebydesign.com.au\Merchello.intelligencebydesign.com.au\Views\Partials\USNStandardPageComponents\USN_StandardPageComponents.cshtml:13 System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198 System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +105 System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +90 System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +235 System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +107 Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +113 System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection) +277 System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +91 System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName) +31 ASP._Page_Views_USNStandardPage_cshtml.Execute() in g:\pleskvhosts\intelligencebydesign.com.au\Merchello.intelligencebydesign.com.au\Views\USNStandardPage.cshtml:29 System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198 System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +105 System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +78 System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +235 System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +107 Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +113 System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +290 System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) +13 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +56 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +420 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +420 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +420 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList1 filters, ActionResult actionResult) +52 System.Web.Mvc.Async.<>cDisplayClass2b.1c() +173 System.Web.Mvc.Async.<>cDisplayClass21.1e(IAsyncResult asyncResult) +100 System.Web.Mvc.Async.WrappedAsyncResult1.CallEndDelegate(IAsyncResult asyncResult) +10 System.Web.Mvc.Async.WrappedAsyncResultBase1.End() +49 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27 System.Web.Mvc.Controller.

Please Sign in or register to post replies

Write your reply to:

Draft