{"record":{"id":"b478cabd95e2d0d3","repo":"octobercms/october","slug":"form-behavior-does-not-contain-a-field-for-field","errorCode":null,"errorMessage":"Form behavior does not contain a field for ':field'.","messagePattern":"Form behavior does not contain a field for ':field'\\.","errorType":"exception","errorClass":"SystemException","httpStatus":null,"severity":"error","filePath":"modules/backend/widgets/Filter.php","lineNumber":436,"sourceCode":"            $sqlCondition = str_replace([\"':value'\", \"':filtered'\", ':filtered'], ':value', $sqlCondition);\n\n            $query->whereRaw(DbDongle::parse($sqlCondition, [\n                'value' => $scopeValue\n            ]));\n            return;\n        }\n\n        $query->where($scope->valueFrom ?: $scope->scopeName, $scopeValue);\n    }\n\n    /**\n     * renderScopeElement for a scope\n     */\n    public function renderScopeElement($scope)\n    {\n        if (is_string($scope)) {\n            if (!isset($this->allScopes[$scope])) {\n                throw new SystemException(Lang::get(\n                    'backend::lang.form.missing_definition',\n                    compact('scope')\n                ));\n            }\n\n            $scope = $this->allScopes[$scope];\n        }\n\n        return $this->makePartial('scope_' . $scope->type, [\n            'scope' => $scope,\n        ]);\n    }\n\n    /**\n     * renderScopeFormElement\n     */\n    public function renderScopeFormElement($scope)\n    {","sourceCodeStart":418,"sourceCodeEnd":454,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/widgets/Filter.php#L418-L454","documentation":"Error \"Form behavior does not contain a field for ':field'.\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/widgets/Filter.php:436 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":"b608633a7e8922487d91a8161499020121c3b3bf","analyzedAt":"2026-08-21T04:24:57.515Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}