{"record":{"id":"781606733e6991c8","repo":"filamentphp/filament","slug":"stylesheet-with-id-id-not-found-for-package","errorCode":null,"errorMessage":"Stylesheet with ID [{$id}] not found for package [{$package}].","messagePattern":"Stylesheet with ID \\[(.+?)\\] not found for package \\[(.+?)\\]\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/support/src/Assets/AssetManager.php","lineNumber":247,"sourceCode":"        $assets = $this->getAssets($this->styles, $packages);\n\n        return $assets;\n    }\n\n    public function getStyleHref(string $id, string $package = 'app'): string\n    {\n        /** @var array<Css> $styles */\n        $styles = $this->getStyles([$package]);\n\n        foreach ($styles as $style) {\n            if ($style->getId() !== $id) {\n                continue;\n            }\n\n            return $style->getHref();\n        }\n\n        throw new LogicException(\"Stylesheet with ID [{$id}] not found for package [{$package}].\");\n    }\n\n    /**\n     * @param  array<string> | null  $packages\n     * @return array<string, mixed>\n     */\n    public function getCssVariables(?array $packages = null): array\n    {\n        $variables = [];\n\n        foreach ($this->cssVariables as $package => $packageVariables) {\n            if (\n                ($packages !== null) &&\n                filled($package) &&\n                (! in_array($package, $packages))\n            ) {\n                continue;\n            }","sourceCodeStart":229,"sourceCodeEnd":265,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/support/src/Assets/AssetManager.php#L229-L265","documentation":"Error \"Stylesheet with ID [{$id}] not found for package [{$package}].\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/support/src/Assets/AssetManager.php:247 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"}