I am using Merchello on a client build and have just tried to upgrade from 1.5.1 to 1.6.0. I am using Umbraco 7.2.1.
I have copied all the files from the upgrade zip.
Now when I go to either the front end to pick a product or the back end to view the catalog I get an error in the Product Search Dialog.
This dialog is making a call to umbraco/backoffice/Merchello/ProductApi/SearchProducts which is returning a 500 internal server error with the following:
{"message":"An error has occurred.","exceptionMessage":"Value cannot be null.\r\nParameter name: indexProvider","exceptionType":"System.ArgumentNullException","stackTrace":" at Umbraco.Core.Mandate.That[TException](Boolean condition, Func1 defer)\r\n at Umbraco.Core.Mandate.ParameterNotNull[T](T value, String paramName)\r\n at Merchello.Web.Search.CachedQueryBase2..ctor(IPageCachedService1 service, BaseIndexProvider indexProvider, BaseSearchProvider searchProvider)\r\n at Merchello.Web.Search.CachedProductQuery..ctor(IPageCachedService1 service, BaseIndexProvider indexProvider, BaseSearchProvider searchProvider)\r\n at Merchello.Web.Search.CachedProductQuery..ctor(IProductService productService)\r\n at Merchello.Web.Search.CachedQueryProvider.<>cDisplayClass4.3()\r\n at System.Lazy1.CreateValue()\r\n at System.Lazy1.LazyInitValue()\r\n at System.Lazy1.get_Value()\r\n at Merchello.Web.Search.CachedQueryProvider.get_Product()\r\n at Merchello.Web.Editors.ProductApiController.SearchProducts(QueryDisplay query)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.<>c__DisplayClass5.<ExecuteAsync>b__4()\r\n at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func1 func, CancellationToken cancellationToken)"}
Is there something that I have missed during the upgrade?
Product search dialog throws error after upgrade from 1.5.1 to 1.6.0
Hi,
I am using Merchello on a client build and have just tried to upgrade from 1.5.1 to 1.6.0. I am using Umbraco 7.2.1.
I have copied all the files from the upgrade zip.
Now when I go to either the front end to pick a product or the back end to view the catalog I get an error in the Product Search Dialog.
This dialog is making a call to umbraco/backoffice/Merchello/ProductApi/SearchProducts which is returning a 500 internal server error with the following:
Is there something that I have missed during the upgrade?
Hi David, Can you try rebuilding your product index? There were some changes in the ProductIndexer ...
Hi Rusty,
Thanks for the quick response!
It was indeed the indexes needed refreshing.
Thanks for your help!
is working on a reply...