filamentphp/filament · error · LogicException
You must define a `getTablePage()` method on your widget tha
Error message
You must define a `getTablePage()` method on your widget that returns the name of a Livewire component.
What it means
Error "You must define a `getTablePage()` method on your widget that returns the name of a Livewire component." thrown in filamentphp/filament.
Source
Thrown at packages/panels/src/Widgets/Concerns/InteractsWithPageTable.php:62
* @var ?string
*/
#[Reactive]
public $tableSearch = '';
#[Reactive]
public ?string $tableSort = null;
#[Reactive]
public ?string $activeTab = null;
#[Reactive] #[Locked]
public ?Model $parentRecord = null;
protected HasTable $tablePage;
protected function getTablePage(): string
{
throw new LogicException('You must define a `getTablePage()` method on your widget that returns the name of a Livewire component.');
}
/**
* @return array<string, mixed>
*/
protected function getTablePageMountParameters(): array
{
return [];
}
protected function getTablePageInstance(): HasTable
{
if (isset($this->tablePage)) {
return $this->tablePage;
}
/** @var HasTable $tableComponent */
$page = app('livewire')->new($this->getTablePage());View on GitHub (pinned to 53483fa934)
When it happens
Trigger: Thrown at packages/panels/src/Widgets/Concerns/InteractsWithPageTable.php:62 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of filamentphp/filament@53483fa934 (2026-08-17).
Data as JSON: /api/errors/6447b7b8d78f5af1.
Report an issue: GitHub.