{"record":{"id":"f5ab863f8df009a0","repo":"filamentphp/filament","slug":"cannot-get-visible-table-columns-from-a-non-table","errorCode":null,"errorMessage":"Cannot get visible table columns from a non-table Livewire component.","messagePattern":"Cannot get visible table columns from a non-table Livewire component\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/actions/src/Concerns/CanExportRecords.php","lineNumber":427,"sourceCode":"    }\n\n    /**\n     * @param  class-string<Exporter>  $exporter\n     */\n    public function exporter(string $exporter): static\n    {\n        $this->exporter = $exporter;\n\n        return $this;\n    }\n\n    /**\n     * @return array<string>\n     */\n    public function getVisibleTableColumnNames(): array\n    {\n        if (! $this->getLivewire() instanceof HasTable) {\n            throw new LogicException('Cannot get visible table columns from a non-table Livewire component.');\n        }\n\n        return array_keys($this->getLivewire()->getTable()->getVisibleColumns());\n    }\n\n    /**\n     * @param  class-string | null  $job\n     */\n    public function job(?string $job): static\n    {\n        $this->job = $job;\n\n        return $this;\n    }\n\n    public function chunkSize(int | Closure $size): static\n    {\n        $this->chunkSize = $size;","sourceCodeStart":409,"sourceCodeEnd":445,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/actions/src/Concerns/CanExportRecords.php#L409-L445","documentation":"Error \"Cannot get visible table columns from a non-table Livewire component.\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/actions/src/Concerns/CanExportRecords.php:427 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"}