ylechasseur wrote:Hi Guys,
I did a lot of modification on the theme (mostly CSS) and it was working well before I upgrade the Core to 3.02 for the new Ribbons (great btw).
I have an error message with ajaxfilters when loading a page using the plugin. :
The cast to value type 'Decimal' failed because the materialized value is null. Either the result type's generic parameter or the query must use a nullable type.
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.InvalidOperationException: The cast to value type 'Decimal' failed because the materialized value is null. Either the result type's generic parameter or the query must use a nullable type.
Source Error:
Line 49: if (Model.NopAjaxFiltersSettingsModel.EnablePriceRangeFilter)
Line 50: {
Line 51: priceRangeFilter = Html.Action("GetPriceRangeFilter", "PriceRangeFilterSlider7Spikes");
Line 52: }
Line 53:
Source File: d:\USNAUTIC\nopecommerce\version3.0\nopcommerce\Deployable\nop_3.00\Plugins\SevenSpikes.Nop.AjaxFilters\Views\NopAjaxFilters\NopFilters.cshtml Line: 51
I went back on the Core and the Filter for version 3.0 and I didn't have any success. I suspecting something in the DB, could it be possible ?
if you want to test here the test site address: http://67.231.106.173:8383
Best regards
Yves
We're having this same error on a certain category page. Only one page. And it only comes up after we try to add products to that category. If no products are in that category you can view the page, but if there are you get the error (sometimes?).
Any help?