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

System.UriFormatException: Invalid URI: The format of the URI could not be determined.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at Smartpage.Ecommerce.TemplateExtenders.ProductTemplateExtender.ExtendTemplate(Template template) in C:\DevOpsProj\KruGits\Smartpage.Ecommerce\TemplateExtenders\ProductTemplateExtender.cs:line 73
   at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProductTemplateExtenders(RenderingContext renderingContext, Product product, Template template, Boolean extendedProperties)
   at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, Template template, Int32 loopCounter, Boolean renderRelated, String productUrl, Int32 quantity, Int32 wishListId, Boolean renderPublicList, Boolean isRecursiveCall, Lazy`1 categoryFieldSorting, Int32 orderLineOfProductCount, RenderingContext renderingContext, String unitId)
   at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, String unitId)
   at Dynamicweb.Ecommerce.Frontend.Frontend.EcomRender()
   at Dynamicweb.Ecommerce.Frontend.Frontend.GetContent()
   at Dynamicweb.Frontend.Content.GetModuleOutput(Paragraph paragraph, PageView pageview)