{"record":{"id":"c05fb0f5318fd5b6","repo":"filamentphp/filament","slug":"the-column-layout-component-is-not-mounted-to-a-ta","errorCode":null,"errorMessage":"The column layout component is not mounted to a table.","messagePattern":"The column layout component is not mounted to a table\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/tables/src/Columns/Layout/Component.php","lineNumber":121,"sourceCode":"            ];\n        }\n\n        return $columns;\n    }\n\n    /**\n     * @return array<Column | Component>\n     */\n    public function getComponents(): array\n    {\n        return array_map(function (Component | Column $component): Component | Column {\n            return $component->layout($this);\n        }, $this->evaluate($this->components));\n    }\n\n    public function getTable(): Table\n    {\n        return $this->table ?? $this->getLayout()?->getTable() ?? throw new LogicException('The column layout component is not mounted to a table.');\n    }\n\n    public function isCollapsible(): bool\n    {\n        return $this->isCollapsible;\n    }\n\n    /**\n     * @return array<mixed>\n     */\n    protected function resolveDefaultClosureDependencyForEvaluationByName(string $parameterName): array\n    {\n        return match ($parameterName) {\n            'livewire' => [$this->getLivewire()],\n            'record' => [$this->getRecord()],\n            'rowLoop' => [$this->getRowLoop()],\n            'table' => [$this->getTable()],\n            default => parent::resolveDefaultClosureDependencyForEvaluationByName($parameterName),","sourceCodeStart":103,"sourceCodeEnd":139,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/tables/src/Columns/Layout/Component.php#L103-L139","documentation":"Error \"The column layout component is not mounted to a table.\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/tables/src/Columns/Layout/Component.php:121 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"}