{"record":{"id":"d1dfb8f9286acd24","repo":"filamentphp/filament","slug":"a-panel-has-been-registered-without-an-id","errorCode":null,"errorMessage":"A panel has been registered without an `id()`.","messagePattern":"A panel has been registered without an `id\\(\\)`\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/panels/src/Panel/Concerns/HasId.php","lineNumber":27,"sourceCode":"    protected string $id;\n\n    public function id(string $id): static\n    {\n        if (isset($this->id)) {\n            throw new LogicException(\"The panel has already been registered with the ID [{$this->id}].\");\n        }\n\n        $this->id = $id;\n        $this->configure();\n        $this->restoreCachedComponents();\n\n        return $this;\n    }\n\n    public function getId(): string\n    {\n        if (! isset($this->id)) {\n            throw new LogicException('A panel has been registered without an `id()`.');\n        }\n\n        return $this->id;\n    }\n}\n","sourceCodeStart":9,"sourceCodeEnd":33,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/panels/src/Panel/Concerns/HasId.php#L9-L33","documentation":"Error \"A panel has been registered without an `id()`.\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/panels/src/Panel/Concerns/HasId.php:27 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"}