filamentphp/filament · error · LogicException

Page [{static::class}] is not registered to the resource [{s

Error message

Page [{static::class}] is not registered to the resource [{static::getResource()}].

What it means

Error "Page [{static::class}] is not registered to the resource [{static::getResource()}]." thrown in filamentphp/filament.

Source

Thrown at packages/panels/src/Resources/Pages/Page.php:133

        return static::getResource()::getUrl(static::getResourcePageName(), $parameters, $isAbsolute, $panel, $tenant, $shouldGuessMissingParameters, $configuration);
    }

    public static function getResourcePageName(): string
    {
        return static::$cachedResourcePageNames[static::class] ??= static::resolveResourcePageName();
    }

    protected static function resolveResourcePageName(): string
    {
        foreach (static::getResource()::getPages() as $pageName => $pageRegistration) {
            if ($pageRegistration->getPage() !== static::class) {
                continue;
            }

            return $pageName;
        }

        throw new LogicException('Page [' . static::class . '] is not registered to the resource [' . static::getResource() . '].');
    }

    public static function route(string $path): PageRegistration
    {
        return new PageRegistration(
            page: static::class,
            route: fn (Panel $panel): Route => RouteFacade::get($path, static::class)
                ->middleware(static::getRouteMiddleware($panel))
                ->withoutMiddleware(static::getWithoutRouteMiddleware($panel)),
        );
    }

    public static function getEmailVerifiedMiddleware(Panel $panel): string
    {
        return static::getResource()::getEmailVerifiedMiddleware($panel);
    }

    public static function isEmailVerificationRequired(Panel $panel): bool

View on GitHub (pinned to 53483fa934)

When it happens

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