{"record":{"id":"c7f197a9fd471841","repo":"filamentphp/filament","slug":"the-resource-static-class-does-not-have-an-i","errorCode":null,"errorMessage":"The resource [{static::class}] does not have an [index] page. Define [getIndexUrl()] for alternative routing.","messagePattern":"The resource \\[(.+?)\\] does not have an \\[index\\] page\\. Define \\[getIndexUrl\\(\\)\\] for alternative routing\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/panels/src/Resources/Resource/Concerns/CanGenerateUrls.php","lineNumber":123,"sourceCode":"                    'record' => $record,\n                ], $isAbsolute, $panel, $tenant, $shouldGuessMissingParameters);\n            }\n\n            if ($parentResource::hasPage('edit')) {\n                return $parentResource::getUrl('edit', [\n                    'relation' => $parentResourceRegistration->getRelationshipName(),\n                    ...$parameters,\n                    'record' => $record,\n                ], $isAbsolute, $panel, $tenant, $shouldGuessMissingParameters);\n            }\n\n            if ($parentResource::hasPage('index')) {\n                return $parentResource::getUrl('index', $parameters, $isAbsolute, $panel, $tenant, $shouldGuessMissingParameters);\n            }\n        }\n\n        if (! static::hasPage('index')) {\n            throw new LogicException('The resource [' . static::class . '] does not have an [index] page. Define [getIndexUrl()] for alternative routing.');\n        }\n\n        return static::getUrl('index', $parameters, $isAbsolute, $panel, $tenant, $shouldGuessMissingParameters);\n    }\n}\n","sourceCodeStart":105,"sourceCodeEnd":129,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/panels/src/Resources/Resource/Concerns/CanGenerateUrls.php#L105-L129","documentation":"Error \"The resource [{static::class}] does not have an [index] page. Define [getIndexUrl()] for alternative routing.\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/panels/src/Resources/Resource/Concerns/CanGenerateUrls.php:123 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"}