Developer forum

Forum » Development » Track queries for statistics

Track queries for statistics

Anders Ebdrup
Anders Ebdrup
Reply

Dear Dynamicweb,

 

After upgrading to 9.10.11 the Product Viewmodel catalog throws an error, when this checkbox is checked: Track queries for statistics

System.NullReferenceException: Object reference not set to an instance of an object.
   at Dynamicweb.Tracking.Web.NotificationSubscribers.IndexingAfterQuerySubscriber.OnNotify(String notification, NotificationArgs args)
   at Dynamicweb.Extensibility.Notifications.NotificationManager.Notify(String notification, NotificationArgs eventArgs)
   at Dynamicweb.Indexing.Querying.QueryService.Query(IQuery query, QuerySettings settings)
   at Dynamicweb.Ecommerce.Indexing.ProductQueryHelper.ExecuteQuery(IQuery query, QuerySettings settings, PageView pageview)
   at Dynamicweb.Ecommerce.Indexing.ProductQueryHelper.GetProductsAutoIdsFromIndexQuery(IQuery query, QuerySettings querySettings, PageView pageview, Boolean showFacetOptionsWithNoResults, IEnumerable`1& facetViewModel, IEnumerable`1& spellCheckerResult, Int32& totalProductCount)
   at Dynamicweb.Ecommerce.Indexing.ProductQueryHelper.GetProductsAutoIds(ProductCatalogSettings settings, ContentModule contentModule, PageView pageview, IEnumerable`1& facetViewModel, IEnumerable`1& spellCheckerResult)
   at Dynamicweb.Ecommerce.ProductCatalog.ProductCatalogFrontend.RenderProductList(ProductCatalogSettings settings, String groupId, Boolean feed)
   at Dynamicweb.Ecommerce.ProductCatalog.ProductCatalogFrontend.GetContent()
   at Dynamicweb.Frontend.Content.GetModuleOutput(Paragraph paragraph, PageView pageview)

 

Best regards, Anders


Replies

 

You must be logged in to post in the forum