{"record":{"id":"238e3494750bfad9","repo":"filamentphp/filament","slug":"no-query-builder-block-found-for-type","errorCode":null,"errorMessage":"No query builder block found for [{type}].","messagePattern":"No query builder block found for \\[(.+?)\\]\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/tables/src/Filters/QueryBuilder.php","lineNumber":100,"sourceCode":"            return $this->getRuleSummaries($state['rules'], $this->getRuleBuilder());\n        });\n\n        $this->columnSpanFull();\n    }\n\n    /**\n     * @param  array<string, mixed>  $rules\n     * @return array<string>\n     */\n    public function getRuleSummaries(array $rules, RuleBuilder $ruleBuilder, int $iteration = 1): array\n    {\n        $summaries = [];\n\n        foreach ($rules as $ruleIndex => $rule) {\n            $ruleBuilderBlockContainer = $ruleBuilder->getChildSchema($ruleIndex);\n\n            if (! $ruleBuilderBlockContainer) {\n                throw new LogicException('No query builder block found for [' . ($rule['type'] ?? $ruleIndex) . '].');\n            }\n\n            if ($rule['type'] === RuleBuilder::OR_BLOCK_NAME) {\n                $orSummaries = [];\n\n                foreach ($rule['data'][RuleBuilder::OR_BLOCK_GROUPS_REPEATER_NAME] as $orGroupIndex => $orGroup) {\n                    $orGroupSummaries = $this->getRuleSummaries(\n                        $orGroup['rules'],\n                        $this->getNestedRuleBuilder($ruleBuilderBlockContainer, $orGroupIndex),\n                        $iteration + 1,\n                    );\n\n                    $orSummaries[] = ((count($orGroupSummaries) > 1) ? '(' : '') . implode(' ' . __('filament-query-builder::query-builder.form.rules.item.and') . ' ', $orGroupSummaries) . ((count($orGroupSummaries) > 1) ? ')' : '');\n                }\n\n                $orSummaries = array_filter($orSummaries, filled(...));\n\n                if (blank($orSummaries)) {","sourceCodeStart":82,"sourceCodeEnd":118,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/tables/src/Filters/QueryBuilder.php#L82-L118","documentation":"Error \"No query builder block found for [{type}].\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/tables/src/Filters/QueryBuilder.php:100 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"}