VirtoCommerce.LiquidThemeEngine.Objects.Paginate.get_Previous() in Paginate.cs
, line 82
System.RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor, bool wrapExceptions)
Scriban.TemplateContext.GetOrSetValue(ScriptExpression targetExpression, object valueToSet, bool setter)
Paginate.cs
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at VirtoCommerce.LiquidThemeEngine.Objects.Paginate.get_Previous() in d:\Builds\VirtoCommerce\vc-storefront-core\master\workspace\VirtoCommerce.LiquidThemeEngine\Objects\Paginate.cs:line 82
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at VirtoCommerce.LiquidThemeEngine.Objects.Paginate.get_Previous() in d:\Builds\VirtoCommerce\vc-storefront-core\master\workspace\VirtoCommerce.LiquidThemeEngine\Objects\Paginate.cs:line 82 --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture) at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index) at Scriban.Runtime.Accessors.TypedObjectAccessor.TryGetValue(TemplateContext context, SourceSpan span, Object target, String member, Object& value) at Scriban.Syntax.ScriptMemberExpression.GetValue(TemplateContext context) at Scriban.TemplateContext.GetOrSetValue(ScriptExpression targetExpression, Object valueToSet, Boolean setter)
ShopifyLiquidThemeEngine.cs
ShopifyLiquidThemeEngine.cs
LiquidThemedView.cs
Startup.cs
ApiErrorHandlingMiddleware.cs
ApiErrorHandlingMiddleware.cs
CreateStorefrontRolesMiddleware.cs
NoLiquidThemeMiddleware.cs
StoreMaintenanceMiddleware.cs
WorkContextBuildMiddleware.cs
Themes\ocs\OCSScriban1.0\snippets\pagination-custom-search.liquid(11,30) : error : Unexpected exception while accessing `paginator.previous`
Variable | Value |
---|---|
page | 14 |
q | Stemco |
terms | Brand:Stemco |
Variable | Value |
---|---|
Accept | */* |
CLIENT-IP | 34.237.75.165:56552 |
DISGUISED-HOST | ohcanadasupply.ca |
Host | ohcanadasupply.ca |
Max-Forwards | 10 |
User-Agent | claudebot |
WAS-DEFAULT-HOSTNAME | ocsvcstorecore.azurewebsites.net |
X-AppService-Proto | https |
X-ARR-LOG-ID | 0fe7f0d4-ce7a-4e17-a38c-b791c0d97aa8 |
X-ARR-SSL | 2048|256|CN=Go Daddy Secure Certificate Authority - G2, OU=http://certs.godaddy.com/repository/, O="GoDaddy.com, Inc.", L=Scottsdale, S=Arizona, C=US|CN=ohcanadasupply.ca |
X-Forwarded-For | 34.237.75.165:56552 |
X-Forwarded-Proto | https |
X-Forwarded-TlsVersion | 1.3 |
X-Original-URL | /search?q=Stemco&terms=Brand%3aStemco&page=14 |
X-SITE-DEPLOYMENT-ID | ocsvcstorecore__42c7 |
X-WAWS-Unencoded-URL | /search?q=Stemco&terms=Brand%3aStemco&page=14 |