{"record":{"id":"e533817de381e0d7","repo":"octobercms/october","slug":"system-lang-config-not-found","errorCode":null,"errorMessage":"system::lang.config.not_found","messagePattern":"system::lang\\.config\\.not_found","errorType":"exception","errorClass":"October\\Rain\\Exception\\SystemException","httpStatus":null,"severity":"error","filePath":"modules/system/traits/ConfigMaker.php","lineNumber":55,"sourceCode":"        // Config already made\n        if (is_object($configFile)) {\n            $config = $configFile;\n        }\n        // Embedded config\n        elseif (is_array($configFile)) {\n            $config = $this->makeConfigFromArray($configFile);\n        }\n        // Process config from file contents\n        else {\n            if (isset($this->controller) && method_exists($this->controller, 'getConfigPath')) {\n                $configFile = $this->controller->getConfigPath($configFile);\n            }\n            else {\n                $configFile = $this->getConfigPath($configFile);\n            }\n\n            if (!File::isFile($configFile)) {\n                throw new SystemException(Lang::get(\n                    'system::lang.config.not_found',\n                    ['file' => $configFile, 'location' => get_called_class()]\n                ));\n            }\n\n            $config = Yaml::parseFileCached($configFile);\n\n            /**\n             * @event system.extendConfigFile\n             * Provides an opportunity to modify config files\n             *\n             * Example usage:\n             *\n             *     Event::listen('system.extendConfigFile', function ((string) $path, (array) $config) {\n             *         if ($path === '/plugins/author/plugin-name/controllers/mycontroller/config_relation.yaml') {\n             *             unset($config['property_value']['view']['recordUrl']);\n             *             return $config;\n             *         }","sourceCodeStart":37,"sourceCodeEnd":73,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/system/traits/ConfigMaker.php#L37-L73","documentation":"Error \"system::lang.config.not_found\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/system/traits/ConfigMaker.php:55 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"}