Homepage

UnknownFilter

Last edit: Apr 01, 2026

UnknownFilter

Severity: error | Type: LiquidHtml

This check prevents errors caused by using unknown filters in Liquid code. Referencing a filter that does not exist will cause a runtime error in your templates.

Examples

✗ Incorrect Code Example (Avoid using this):


{{ x | some_unknown_filter }}
{{ product.name | humanize }}

Neither some_unknown_filter nor humanize exist in the platformOS filter set.

✓ Correct Code Example (Use this instead):


{{ x | upcase }}
{{ product.name | capitalize }}

Configuration

The default configuration for this check:

UnknownFilter:
  enabled: true
  severity: error

Disabling This Check

Disabling this check is not recommended as it helps prevent runtime errors.

Resources

Questions?

We are always happy to help with any questions you may have.

contact us