Close

The parameters dictionary contains a null entry for parameter 'categoryId' of non-nullable type

[email protected]
8 years ago
#12861 Quote
Avatar
  • 2
Hello

We have a weird error on one of our customer sites.

https://www.larada.org/getr%C3%A4nke-3#/pageSize=12&viewMode=grid&orderBy=0&pageNumber=3

If we click on next page 4 does not come. But is there another paging displayed? In addition, there is another error:

System.ArgumentException: The parameters dictionary contains a null entry for parameter 'categoryId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult GetFilteredProducts(Int32, Int32, Int32, SevenSpikes.Nop.Plugins.AjaxFilters.Models.PriceRangeFilterSlider.PriceRangeFilterModel7Spikes, SevenSpikes.Nop.Plugins.AjaxFilters.Models.SpecificationFilter.SpecificationFilterModel7Spikes, SevenSpikes.Nop.Plugins.AjaxFilters.Models.AttributeFilter.AttributeFilterModel7Spikes, SevenSpikes.Nop.Plugins.AjaxFilters.Models.ManufacturerFilter.ManufacturerFilterModel7Spikes, SevenSpikes.Nop.Plugins.AjaxFilters.Models.VendorFilter.VendorFilterModel7Spikes, Nop.Web.Models.Catalog.CatalogPagingFilteringModel, SevenSpikes.Nop.Plugins.AjaxFilters.Models.OnSaleFilter.OnSaleFilterModel7Spikes, System.String, Boolean, System.String, Int32, Int32, System.Nullable`1[System.Decimal], System.Nullable`1[System.Decimal], Boolean, Boolean, Boolean, Boolean)' in 'SevenSpikes.Nop.Plugins.AjaxFilters.Controllers.Catalog7SpikesController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters at System.Web.Mvc.ActionDescriptor.ExtractParameterFromDictionary(ParameterInfo parameterInfo, IDictionary`2 parameters, MethodInfo methodInfo) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.Wrapp
SDobrev
8 years ago
#12867 Quote
Avatar
  • 283
Hello,

This problem is very strange and we cannot reproduce it locally.

Could you please submit a ticket and provide us admin credentials to your site so we can further investigate this issue?
Best Regards,
Stoyan Dobrev
Nop-Templates.com
[email protected]
8 years ago
#12896 Quote
Avatar
  • 2
Good Morning

We can not create a ticket.
Because our support has expired for our Ultimate Collection!

With kind regards
Andreas Altherr
SDobrev
8 years ago
#12897 Quote
Avatar
  • 283
Hello Andreas,

Do you have any custom modifications?

You can send us a private message with the admin credentials so we can investigate this issue.
Best Regards,
Stoyan Dobrev
Nop-Templates.com