{"record":{"id":"1e8d10d5eaa5cc08","repo":"filamentphp/filament","slug":"the-relationship-relationshipname-does-not-ex-1e8d10","errorCode":null,"errorMessage":"The relationship [{$relationshipName}] does not exist on the model [{$model}].","messagePattern":"The relationship \\[(.+?)\\] does not exist on the model \\[(.+?)\\]\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/tables/src/Columns/SelectColumn.php","lineNumber":853,"sourceCode":"                $relationship = null;\n\n                break;\n            }\n\n            if (! $record->isRelation($nestedRelationshipName)) {\n                $relationship = null;\n\n                break;\n            }\n\n            $relationship = $record->{$nestedRelationshipName}();\n            $record = $relationship->getRelated();\n        }\n\n        if (! $relationship) {\n            $model = $record::class;\n\n            throw new LogicException(\"The relationship [{$relationshipName}] does not exist on the model [{$model}].\");\n        }\n\n        return $relationship;\n    }\n\n    public function getOptionsRelationshipTitleAttribute(): ?string\n    {\n        return $this->evaluate($this->optionsRelationshipTitleAttribute);\n    }\n\n    public function getOptionsRelationshipName(): ?string\n    {\n        return $this->evaluate($this->optionsRelationship);\n    }\n\n    public function hasOptionsRelationship(): bool\n    {\n        return filled($this->getOptionsRelationshipName());","sourceCodeStart":835,"sourceCodeEnd":871,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/tables/src/Columns/SelectColumn.php#L835-L871","documentation":"Error \"The relationship [{$relationshipName}] does not exist on the model [{$model}].\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/tables/src/Columns/SelectColumn.php:853 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"}