{"record":{"id":"3ff3387d6bc3c0a5","repo":"filamentphp/filament","slug":"no-rule-builder-component-found","errorCode":null,"errorMessage":"No rule builder component found.","messagePattern":"No rule builder component found\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/tables/src/Filters/QueryBuilder.php","lineNumber":422,"sourceCode":"\n            if (($maxRules !== null) && ($ruleCount > $maxRules)) {\n                return true;\n            }\n        }\n\n        return false;\n    }\n\n    protected function getRuleBuilder(): RuleBuilder\n    {\n        if ($this->cachedRuleBuilder instanceof RuleBuilder) {\n            return $this->cachedRuleBuilder;\n        }\n\n        $builder = $this->getSchema()->getComponent(fn (Component $component): bool => $component instanceof RuleBuilder);\n\n        if (! ($builder instanceof RuleBuilder)) {\n            throw new LogicException('No rule builder component found.');\n        }\n\n        return $this->cachedRuleBuilder = $builder;\n    }\n\n    protected function getNestedRuleBuilder(Schema $schema, string $orGroupIndex): RuleBuilder\n    {\n        $builder = $schema\n            ->getComponent(fn (Component $component): bool => $component instanceof Repeater)\n            ?->getChildSchema($orGroupIndex)\n            ?->getComponent(fn (Component $component): bool => $component instanceof RuleBuilder);\n\n        if (! ($builder instanceof RuleBuilder)) {\n            throw new LogicException('No nested rule builder component found.');\n        }\n\n        return $builder;\n    }","sourceCodeStart":404,"sourceCodeEnd":440,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/tables/src/Filters/QueryBuilder.php#L404-L440","documentation":"Error \"No rule builder component found.\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/tables/src/Filters/QueryBuilder.php:422 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"}