{"record":{"id":"c0c17ef68147b163","repo":"filamentphp/filament","slug":"please-use-the-navigationgroups-method-on-the","errorCode":null,"errorMessage":"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","messagePattern":"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","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/panels/src/FilamentManager.php","lineNumber":982,"sourceCode":"    /**\n     * @param  class-string  $pageClass\n     */\n    public function forPageConfiguration(string $pageClass, string $key): void\n    {\n        $this->setCurrentPageConfigurationKey($key);\n    }\n\n    /**\n     * @param  array<string | int, NavigationGroup | string>  $groups\n     *\n     * @deprecated Use the `navigationGroups()` method on the panel configuration instead.\n     */\n    public function registerNavigationGroups(array $groups): void\n    {\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    /**","sourceCodeStart":964,"sourceCodeEnd":1000,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/panels/src/FilamentManager.php#L964-L1000","documentation":"Error \"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\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/panels/src/FilamentManager.php:982 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"}