filamentphp/filament · error · Exception

Page {class} does not define a $configurationClass.

Error message

Page {class} does not define a $configurationClass.

What it means

Error "Page {class} does not define a $configurationClass." thrown in filamentphp/filament.

Source

Thrown at packages/panels/src/Pages/Page.php:478

                Grid::make($this->getFooterWidgetsColumns())
                    ->schema(fn (): array => $this->cachedFooterWidgetsSchemaComponents ??= $this->getWidgetsSchemaComponents($this->getFooterWidgets())),
                RenderHook::make(PanelsRenderHook::PAGE_FOOTER_WIDGETS_END),
            ])
            ->hidden(fn (): bool => empty($this->cachedFooterWidgetsSchemaComponents ??= $this->getWidgetsSchemaComponents($this->getFooterWidgets())));
    }

    public function getDefaultTestingSchemaName(): ?string
    {
        return $this->getSchema('form') ? 'form' : 'content';
    }

    /**
     * @return TConfiguration
     */
    public static function make(string $key = 'default'): PageConfiguration
    {
        if (! static::$configurationClass) {
            throw new Exception('Page ' . static::class . ' does not define a $configurationClass.');
        }

        return static::$configurationClass::make(static::class, $key);
    }

    /**
     * @return ?TConfiguration
     */
    public static function getConfiguration(?Panel $panel = null): ?PageConfiguration
    {
        $key = Filament::getCurrentPageConfigurationKey();

        if ($key === null) {
            return null;
        }

        $panel ??= Filament::getCurrentPanel();

View on GitHub (pinned to 53483fa934)

When it happens

Trigger: Thrown at packages/panels/src/Pages/Page.php:478 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/f75740b9b1d8e9a9. Report an issue: GitHub.