System Error

System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at PupaMVC.Repositories.SubscribeRepository.GetFriendlyViewNameRedesign(ShopViewModel shopModel, List`1 categories, ShopQueryInfo queryInfo) in c:\deployWorkingDir\checkout\butterfly\PupaMVC\Repositories\SubscribeRepository.cs:line 1107
   at PupaMVC.Repositories.SubscribeRepository.GetShopPortalViewModelRedesign(ShopViewModel directory, ShopQueryInfo queryInfo) in c:\deployWorkingDir\checkout\butterfly\PupaMVC\Repositories\SubscribeRepository.cs:line 498
   at PupaMVC.Controllers.InfoPagesController.ShopDirectory(String subPath, Nullable`1 d, Nullable`1 f, Nullable`1 p) in c:\deployWorkingDir\checkout\butterfly\PupaMVC\Controllers\InfoPagesController.cs:line 140
   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.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
ALL_HTTP: HTTP_ACCEPT:*/*
HTTP_ACCEPT_ENCODING:gzip, br, zstd, deflate
HTTP_HOST:mcstaging.net
HTTP_USER_AGENT:Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_FORWARDED_FOR:18.221.198.45
HTTP_X_FORWARDED_PROTO:https
HTTP_X_FORWARDED_PORT:443
HTTP_X_AMZN_TRACE_ID:Root=1-6791c2b4-6e51db2052f4224a2af80944
ALL_RAW: Accept: */*
Accept-Encoding: gzip, br, zstd, deflate
Host: mcstaging.net
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
X-Forwarded-For: 18.221.198.45
X-Forwarded-Proto: https
X-Forwarded-Port: 443
X-Amzn-Trace-Id: Root=1-6791c2b4-6e51db2052f4224a2af80944
APPL_MD_PATH: /LM/W3SVC/2/ROOT
APPL_PHYSICAL_PATH: c:\pupa\par_eb11f93cfb54030552ed43573a8502ed0b1e0ed6_20240925-151546\
CERT_KEYSIZE: 256
CERT_SECRETKEYSIZE: 2048
CERT_SERVER_ISSUER: CN=localhost
CERT_SERVER_SUBJECT: CN=localhost
CONTENT_LENGTH: 0
GATEWAY_INTERFACE: CGI/1.1
HTTPS: on
HTTPS_KEYSIZE: 256
HTTPS_SECRETKEYSIZE: 2048
HTTPS_SERVER_ISSUER: CN=localhost
HTTPS_SERVER_SUBJECT: CN=localhost
INSTANCE_ID: 2
INSTANCE_META_PATH: /LM/W3SVC/2
LOCAL_ADDR: 172.19.4.119
PATH_INFO: /shop/category/none
PATH_TRANSLATED: c:\pupa\par_eb11f93cfb54030552ed43573a8502ed0b1e0ed6_20240925-151546\shop\category\none
REMOTE_ADDR: 172.19.1.52
REMOTE_HOST: 172.19.1.52
REMOTE_PORT: 9992
REQUEST_METHOD: GET
SCRIPT_NAME: /shop/category/none
SERVER_NAME: mcstaging.net
SERVER_PORT: 443
SERVER_PORT_SECURE: 1
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Microsoft-IIS/10.0
URL: /shop/category/none
HTTP_ACCEPT: */*
HTTP_ACCEPT_ENCODING: gzip, br, zstd, deflate
HTTP_HOST: mcstaging.net
HTTP_USER_AGENT: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_FORWARDED_FOR: 18.221.198.45
HTTP_X_FORWARDED_PROTO: https
HTTP_X_FORWARDED_PORT: 443
HTTP_X_AMZN_TRACE_ID: Root=1-6791c2b4-6e51db2052f4224a2af80944