{"record":{"id":"65b90911aa023fd4","repo":"filamentphp/filament","slug":"please-use-the-pages-method-on-the-panel-confi","errorCode":null,"errorMessage":"Please use the `pages()` method on the panel configuration to register pages.","messagePattern":"Please use the `pages\\(\\)` method on the panel configuration to register pages\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/panels/src/FilamentManager.php","lineNumber":1010,"sourceCode":"    {\n        try {\n            $this->getDefaultPanel()->navigationItems($items);\n        } catch (NoDefaultPanelSetException $exception) {\n            throw new LogicException('Please use the `navigationItems()` method on the panel configuration to register navigation items. See the documentation - https://filamentphp.com/docs/panels/navigation#registering-custom-navigation-items');\n        }\n    }\n\n    /**\n     * @param  array<class-string>  $pages\n     *\n     * @deprecated Use the `pages()` method on the panel configuration instead.\n     */\n    public function registerPages(array $pages): void\n    {\n        try {\n            $this->getDefaultPanel()->pages($pages);\n        } catch (NoDefaultPanelSetException $exception) {\n            throw new LogicException('Please use the `pages()` method on the panel configuration to register pages.');\n        }\n    }\n\n    /**\n     * @deprecated Use the `renderHook()` method on the panel configuration instead.\n     */\n    public function registerRenderHook(string $name, Closure $hook): void\n    {\n        FilamentView::registerRenderHook($name, $hook);\n    }\n\n    /**\n     * @param  array<class-string>  $resources\n     *\n     * @deprecated Use the `resources()` method on the panel configuration instead.\n     */\n    public function registerResources(array $resources): void\n    {","sourceCodeStart":992,"sourceCodeEnd":1028,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/panels/src/FilamentManager.php#L992-L1028","documentation":"Error \"Please use the `pages()` method on the panel configuration to register pages.\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/panels/src/FilamentManager.php:1010 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"}