{"record":{"id":"b2f16367e50e2b36","repo":"filamentphp/filament","slug":"column-of-class-columnclass-must-have-a-unique","errorCode":null,"errorMessage":"Column of class [$columnClass] must have a unique name, passed to the [make()] method.","messagePattern":"Column of class \\[\\$columnClass\\] must have a unique name, passed to the \\[make\\(\\)\\] method\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/tables/src/Columns/Column.php","lineNumber":78,"sourceCode":"    protected string $evaluationIdentifier = 'column';\n\n    protected string $viewIdentifier = 'column';\n\n    protected ?string $cachedCellAttributeHtml = null;\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        $columnClass = static::class;\n\n        $name ??= static::getDefaultName();\n\n        if (blank($name)) {\n            throw new LogicException(\"Column of class [$columnClass] must have a unique name, passed to the [make()] method.\");\n        }\n\n        $static = app($columnClass, ['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 getTable(): Table\n    {\n        return $this->table ?? $this->getGroup()?->getTable() ?? $this->getLayout()?->getTable() ?? throw new LogicException(\"The column [{$this->getName()}] is not mounted to a table.\");\n    }\n","sourceCodeStart":60,"sourceCodeEnd":96,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/tables/src/Columns/Column.php#L60-L96","documentation":"Error \"Column of class [$columnClass] must have a unique name, passed to the [make()] method.\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/tables/src/Columns/Column.php:78 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"}