Error The log entry message.Short message: The parameters dictionary contains a null entry for parameter 'productPageId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult RetrieveProductRibbons(Int32, Int32[])' in 'SevenSpikes.Nop.Plugins.ProductRibbons.Controllers.ProductRibbonsController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
157.55.32.89 Name of the customer who caused the exception.Customer: builtin@search_engine_record.com Originating page of exception.Page URL: http://www.myfootshop.com/productribbons/retrieveproductribbons The referrer URL.Referrer URL: Date/Time the log entry was created.Created on: 1/14/2014 3:35:25 AM
Error The log entry message.Short message: The parameters dictionary contains a null entry for parameter 'productPageId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult RetrieveProductRibbons(Int32, Int32[])' in 'SevenSpikes.Nop.Plugins.ProductRibbons.Controllers.ProductRibbonsController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
157.55.32.89 Name of the customer who caused the exception.Customer: builtin@search_engine_record.com Originating page of exception.Page URL: http://www.myfootshop.com/productribbons/retrieveproductribbons The referrer URL.Referrer URL: Date/Time the log entry was created.Created on: 1/14/2014 3:35:25 AM
Hi joster,
Do you have a more recent one in the Log as this one seems to be from 6 days ago (when you said it was updated), so probably it is an old log entry?
Date/Time the log entry was created.Created on: 1/14/2014 3:35:25 AM
Please let me know if you find a more recent one in the Log.
Sorry if I duplicate the request but I think that it is the right place to describe the problem; I have still the problem "System.Web.Mvc.ActionResult RetrieveProductRibbons(Int32, Int32[]" with ProductRibbon version 3.21 downloaded and right installed today. Versione 3.21 solved the issue related to Ajax filter but I have always the problem with ProductRibbons plugin. .Could you help me please? You suggested my to upgrade plagin to 3.21 but I have the same problem also in 3.21.
Sorry if I duplicate the request but I think that it is the right place to describe the problem; I have still the problem "System.Web.Mvc.ActionResult RetrieveProductRibbons(Int32, Int32[]" with ProductRibbon version 3.21 downloaded and right installed today. Versione 3.21 solved the issue related to Ajax filter but I have always the problem with ProductRibbons plugin. .Could you help me please? You suggested my to upgrade plagin to 3.21 but I have the same problem also in 3.21.
Thanks in advance
BR Lorenzo
Hi Lorenzo,
Can you please have a look at the date of the error and tell us whether it had occurred after the update. Does it still occur?
When writing reviews on product page get an error and a log: The parameters dictionary contains a null entry for parameter 'productPageId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult RetrieveProductRibbons(Int32, Int32[])' in 'SevenSpikes.Nop.Plugins.ProductRibbons.Controllers.ProductRibbonsController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters
version 3.30, no errors when ribbons aren't activated
When writing reviews on product page get an error and a log: The parameters dictionary contains a null entry for parameter 'productPageId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult RetrieveProductRibbons(Int32, Int32[])' in 'SevenSpikes.Nop.Plugins.ProductRibbons.Controllers.ProductRibbonsController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters
version 3.30, no errors when ribbons aren't activated
Please, write to our support, mentioning your website and credentials for it, so we can fix your problem.
I'm getting an error in the Product Ribbon Conditions. When opening an edit condition dialog I get a "Retrieving condition types failed" alert. When inspecting the Ajax request sent I the following details:
Error message: "Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property."
I have found that the problem has to do with the input. When changing the request payload to:
.. the request works fine. I can't comprehend why. I have two different installations of the site. The conditions work fine on one and not the other. The databases (the SS_C_ tables and the SS_PR_ProductRibbon) are exactly the same.
I'm getting an error in the Product Ribbon Conditions. When opening an edit condition dialog I get a "Retrieving condition types failed" alert. When inspecting the Ajax request sent I the following details:
Hi madsgodvinjensen,
There is a limitation in the .NET Framework on the JSON request being sent to the server. The fix is actually very simple. You need to increase the limit via adding a setting in your Web.config file. Into the <appSettings> section add the following line: <add key="aspnet:MaxJsonDeserializerMembers" value="150000" />
There is a limitation in the .NET Framework on the JSON request being sent to the server. The fix is actually very simple. You need to increase the limit via adding a setting in your Web.config file. Into the <appSettings> section add the following line: <add key="aspnet:MaxJsonDeserializerMembers" value="150000" />
Hope this helps!
I've tried changing web.config. I've also tried changing the MaxJsonLength property in web.config. No luck. As per my description it seems to be a problem in the code and not the config.