{"record":{"id":"1795c9ce9da737b9","repo":"filamentphp/filament","slug":"please-use-the-navigationitems-method-on-the-p","errorCode":null,"errorMessage":"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","messagePattern":"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","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/panels/src/FilamentManager.php","lineNumber":996,"sourceCode":"    {\n        try {\n            $this->getDefaultPanel()->navigationGroups($groups);\n        } catch (NoDefaultPanelSetException $exception) {\n            throw new LogicException('Please use the `navigationGroups()` method on the panel configuration to register navigation groups. See the documentation - https://filamentphp.com/docs/panels/navigation#customizing-navigation-groups');\n        }\n    }\n\n    /**\n     * @param  array<NavigationItem>  $items\n     *\n     * @deprecated Use the `navigationItems()` method on the panel configuration instead.\n     */\n    public function registerNavigationItems(array $items): void\n    {\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    /**","sourceCodeStart":978,"sourceCodeEnd":1014,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/panels/src/FilamentManager.php#L978-L1014","documentation":"Error \"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\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/panels/src/FilamentManager.php:996 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"}