{"record":{"id":"13cdf7c0907f8d22","repo":"octobercms/october","slug":"backend-lang-model-not-found","errorCode":null,"errorMessage":"backend::lang.model.not_found","messagePattern":"backend::lang\\.model\\.not_found","errorType":"exception","errorClass":"ApplicationException","httpStatus":null,"severity":"error","filePath":"modules/backend/behaviors/relationcontroller/HasManageMode.php","lineNumber":212,"sourceCode":"    }\n\n    /**\n     * makeManageFormWidget prepares the form widget for management\n     */\n    protected function makeManageFormWidget(): ?FormWidget\n    {\n        if (!$config = $this->makeConfigForMode('manage', 'form')) {\n            return null;\n        }\n\n        $this->manageModel = $this->relationModel;\n\n        // Existing record\n        if ($this->manageId) {\n            $this->manageModel = $this->findManageModelObject($this->manageId);\n\n            if (!$this->manageModel) {\n                throw new ApplicationException(Lang::get('backend::lang.model.not_found', [\n                    'class' => get_class($this->relationModel),\n                    'id' => $this->manageId,\n                ]));\n            }\n        }\n\n        $config->model = $this->manageModel;\n        $config->arrayName = class_basename($this->relationModel);\n        $config->context = $this->evalFormContext('manage', !!$this->manageId);\n        $config->alias = $this->alias . 'ManageForm';\n        $config->parentFieldName = $this->field;\n\n        $widget = $this->makeWidget(FormWidget::class, $config);\n\n        return $widget;\n    }\n\n    /**","sourceCodeStart":194,"sourceCodeEnd":230,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/behaviors/relationcontroller/HasManageMode.php#L194-L230","documentation":"Error \"backend::lang.model.not_found\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/behaviors/relationcontroller/HasManageMode.php:212 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"}