{"record":{"id":"ca470b7fa88698b5","repo":"filamentphp/filament","slug":"filter-of-class-filterclass-must-have-a-unique","errorCode":null,"errorMessage":"Filter of class [$filterClass] must have a unique name, passed to the [make()] method.","messagePattern":"Filter of class \\[\\$filterClass\\] must have a unique name, passed to the \\[make\\(\\)\\] method\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/tables/src/Filters/BaseFilter.php","lineNumber":36,"sourceCode":"    use Concerns\\HasName;\n    use Concerns\\HasSchema;\n    use Concerns\\InteractsWithTableQuery;\n\n    protected string $evaluationIdentifier = 'filter';\n\n    final public function __construct(string $name)\n    {\n        $this->name($name);\n    }\n\n    public static function make(?string $name = null): static\n    {\n        $filterClass = static::class;\n\n        $name ??= static::getDefaultName();\n\n        if (blank($name)) {\n            throw new LogicException(\"Filter of class [$filterClass] must have a unique name, passed to the [make()] method.\");\n        }\n\n        $static = app($filterClass, ['name' => $name]);\n        $static->configure();\n\n        return $static;\n    }\n\n    public static function getDefaultName(): ?string\n    {\n        return null;\n    }\n\n    public function getActiveCount(): int\n    {\n        return count($this->getIndicators());\n    }\n","sourceCodeStart":18,"sourceCodeEnd":54,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/tables/src/Filters/BaseFilter.php#L18-L54","documentation":"Error \"Filter of class [$filterClass] must have a unique name, passed to the [make()] method.\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/tables/src/Filters/BaseFilter.php:36 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"53483fa9340e4ec637985fe454ebb58afb92ea24","analyzedAt":"2026-08-17T02:06:23.049Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}