Swift

An error occurred while attaching module (Dynamicweb.Frontend.Content)

System.ArgumentException: String parameter languageId cannot be null or empty (Parameter 'languageId')
   at Dynamicweb.Core.Ensure.Argument.NotNullOrEmpty(String value, String parameterName)
   at Dynamicweb.Ecommerce.International.Translation..ctor(String languageId)
   at Dynamicweb.Ecommerce.Stocks.StockLocationTranslation..ctor(String languageId)
   at Dynamicweb.Ecommerce.Stocks.StockLocationRepository.Extract(Dictionary`2 locations, IDataReader dataReader)
   at Dynamicweb.Ecommerce.Stocks.StockLocationRepository.GetAll()
   at Dynamicweb.Ecommerce.Stocks.StockLocationServiceCacheStorage.InitializeCache()
   at Dynamicweb.Caching.DictionaryCache`2.InitializeCacheDictionary()
   at Dynamicweb.Caching.DictionaryCache`2.b__12_0()
   at System.Lazy`1.PublicationOnlyViaFactory(LazyHelper initializer)
   at System.Lazy`1.CreateValue()
   at Dynamicweb.Caching.DictionaryCache`2.get_Cache()
   at Dynamicweb.Caching.DictionaryCache`2.GetAllValuesInternal()
   at Dynamicweb.Caching.ServiceCache`2.GetAllValues()
   at Dynamicweb.Ecommerce.Stocks.StockLocationService.GetAll()
   at Dynamicweb.Ecommerce.Stocks.StockService.GetStockLocations()
   at Dynamicweb.Ecommerce.Indexing.ProductIndexSchemaExtender.GetFields(String languageId)
   at Dynamicweb.Ecommerce.Indexing.ProductIndexSchemaExtender.GetFields()
   at Dynamicweb.Indexing.Schemas.ExtensionFieldDefinition.GetFields()
   at Dynamicweb.Indexing.IndexHelper.GetField(List`1 fieldsFromExtenders, XElement fieldElement, String& fieldTypeName)
   at Dynamicweb.Indexing.IndexHelper.FillIndexWithSchema(XElement root, IIndex index)
   at Dynamicweb.Indexing.IndexHelper.ConvertToIndex(XElement obj, Boolean fillSchema)
   at Dynamicweb.Indexing.IndexService.LoadIndex(String name, Boolean fillSchema)
   at Dynamicweb.Indexing.IndexService.LoadIndex(String repository, String item, Boolean fillSchema)
   at Dynamicweb.Indexing.IndexService.LoadIndex(String repository, String item)
   at Dynamicweb.Ecommerce.Indexing.ProductQueryHelper.LoadIndexFromQuery(IQuery query)
   at Dynamicweb.Ecommerce.Indexing.ProductQueryHelper.LoadFacets(IQuery query, IEnumerable`1 facetGroups)
   at Dynamicweb.Ecommerce.Indexing.ProductQueryHelper.CreateQuerySettings(ProductCatalogSettings settings, IQuery query, PagingHandler pagingHandler, NameValueCollection requestValues)
   at Dynamicweb.Ecommerce.Indexing.ProductQueryHelper.GetQueryAndQuerySettings(ProductCatalogSettings settings, ContentModule contentModule, NameValueCollection requestValues, QuerySettings& querySettings)
   at Dynamicweb.Ecommerce.ProductCatalog.ProductCatalogFrontend.GetModuleContent()
   at Dynamicweb.Frontend.Content.GetModuleOutput(Paragraph paragraph, PageView pageview)