You have no items in your shopping cart.

Sunday, December 22, 2024 8:23:30 AM

Stickers - Error

Posted: 7 years ago

#5434 Quote

jason.nunn1978

Posted: 7 years ago

#5434 Quote
Hi,



Whenever we apply a sticker to any product we get this error when accessing the product page (nopcommerce 3.90):



Log level

Error

Short message

Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'.

Full message

System.Web.HttpException (0x80004005): Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'. ---> System.Web.HttpException (0x80004005): Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'. ---> System.Web.HttpException (0x80004005): Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'. ---> Newtonsoft.Json.JsonSerializationException: Self referencing loop detected for property 'Sticker' with type 'System.Data.Entity.DynamicProxies.StickerRecord_CD50CAC61304F12B1EA5575E479F67E30A798694DC045621E0770950AF9D1F44'. Path '[0].StickerCategoryRecords[0]'. at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.CheckForCircularReference(JsonWriter writer, Object value, JsonProperty property, JsonContract contract, JsonContainerContract containerContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.CalculatePropertyValues(JsonWriter writer, Object value, JsonContainerContract contract, JsonProperty member, JsonProperty property, JsonContract& memberContract, Object& memberValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType) at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType) at Newtonsoft.Json.JsonConvert.SerializeObjectInternal(Object value, Type type, JsonSerializer jsonSerializer) at Nop.Core.Caching.RedisCacheManager.Serialize(Object item) at Nop.Core.Caching.RedisCacheManager.Set(String key, Object data, Int32 cacheTime) at Nop.Core.Caching.CacheExtensions.Get[T](ICacheManager cacheManager, String key, Int32 cacheTime, Func`1 acquire) at FoxNetSoft.Plugin.Misc.Stickers.Services.StickerService.GetStickerRecordsByProductId(Int32 productId, Int32 storeId) at FoxNetSoft.Plugin.Misc.Stickers.Controllers.StickersController.ShowSticker(Int32 productId) at FoxNetSoft.Plugin.Misc.Stickers.Controllers.StickersController.Content_Widget(String widgetZone, Object additionalData) at lambda_method(Closure , ControllerBase , Object[] ) 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

Posted: 7 years ago

#5435 Quote

Support

Posted: 7 years ago

#5435 Quote
Do you have fresh install of plugin?
Do you use MSSQL Server or Azure?

Posted: 7 years ago

#5436 Quote

jason.nunn1978

Posted: 7 years ago

#5436 Quote
Yes, downloaded and installed today.

We are using SQL Server

Posted: 7 years ago

#5437 Quote

Support

Posted: 7 years ago

#5437 Quote
I found the bug. You use Redis. I'll try to fix it.

Posted: 7 years ago

#5438 Quote

Support

Posted: 7 years ago

#5438 Quote
We have fixed this bug and tested on our Redis cache.
V1.07

I am sorry for this bug.
Thank you.

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved