{"record":{"id":"6447b7b8d78f5af1","repo":"filamentphp/filament","slug":"you-must-define-a-gettablepage-method-on-your","errorCode":null,"errorMessage":"You must define a `getTablePage()` method on your widget that returns the name of a Livewire component.","messagePattern":"You must define a `getTablePage\\(\\)` method on your widget that returns the name of a Livewire component\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/panels/src/Widgets/Concerns/InteractsWithPageTable.php","lineNumber":62,"sourceCode":"     * @var ?string\n     */\n    #[Reactive]\n    public $tableSearch = '';\n\n    #[Reactive]\n    public ?string $tableSort = null;\n\n    #[Reactive]\n    public ?string $activeTab = null;\n\n    #[Reactive] #[Locked]\n    public ?Model $parentRecord = null;\n\n    protected HasTable $tablePage;\n\n    protected function getTablePage(): string\n    {\n        throw new LogicException('You must define a `getTablePage()` method on your widget that returns the name of a Livewire component.');\n    }\n\n    /**\n     * @return array<string, mixed>\n     */\n    protected function getTablePageMountParameters(): array\n    {\n        return [];\n    }\n\n    protected function getTablePageInstance(): HasTable\n    {\n        if (isset($this->tablePage)) {\n            return $this->tablePage;\n        }\n\n        /** @var HasTable $tableComponent */\n        $page = app('livewire')->new($this->getTablePage());","sourceCodeStart":44,"sourceCodeEnd":80,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/panels/src/Widgets/Concerns/InteractsWithPageTable.php#L44-L80","documentation":"Error \"You must define a `getTablePage()` method on your widget that returns the name of a Livewire component.\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/panels/src/Widgets/Concerns/InteractsWithPageTable.php:62 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"}