An unhandled exception occurred while processing the request.

ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

VirtoCommerce.LiquidThemeEngine.Objects.Paginate.get_Previous() in Paginate.cs, line 82

TargetInvocationException: Exception has been thrown by the target of an invocation.

System.RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor, bool wrapExceptions)

ScriptRuntimeException: Themes\ocs\OCSScriban1.0\snippets\pagination-custom-search.liquid(11,30) : error : Unexpected exception while accessing `paginator.previous`

Scriban.TemplateContext.GetOrSetValue(ScriptExpression targetExpression, object valueToSet, bool setter)

Variable Value
page 87
q Miller
terms Brand:Miller

No cookie data.

Variable Value
Accept */*
CLIENT-IP 52.90.40.84:33374
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 d9166ddf-fd72-45a2-86a6-a104f0384e3a
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 52.90.40.84:33374
X-Forwarded-Proto https
X-Forwarded-TlsVersion 1.3
X-Original-URL /search?q=Miller&terms=Brand%3aMiller&page=87
X-SITE-DEPLOYMENT-ID ocsvcstorecore__42c7
X-WAWS-Unencoded-URL /search?q=Miller&terms=Brand%3aMiller&page=87