{"record":{"id":"cbbafff3a843346c","repo":"octobercms/october","slug":"system-lang-config-required","errorCode":null,"errorMessage":"system::lang.config.required","messagePattern":"system::lang\\.config\\.required","errorType":"exception","errorClass":"October\\Rain\\Exception\\SystemException","httpStatus":null,"severity":"error","filePath":"modules/system/traits/ConfigMaker.php","lineNumber":93,"sourceCode":"             *\n             */\n            $publicFile = File::localToPublic($configFile);\n            if ($results = Event::fire('system.extendConfigFile', [$publicFile, $config])) {\n                foreach ($results as $result) {\n                    if (!is_array($result)) {\n                        continue;\n                    }\n                    $config = array_merge($config, $result);\n                }\n            }\n\n            $config = $this->makeConfigFromArray($config);\n        }\n\n        // Validate required configuration\n        foreach ($requiredConfig as $property) {\n            if (!property_exists($config, $property)) {\n                throw new SystemException(Lang::get(\n                    'system::lang.config.required',\n                    ['property' => $property, 'location' => get_called_class()]\n                ));\n            }\n        }\n\n        return $config;\n    }\n\n    /**\n     * makeConfigFromArray makes a config object from an array, making the first\n     * level keys properties of a new object.\n     *\n     * @param array $configArray Config array.\n     * @return stdClass The config object\n     */\n    public function makeConfigFromArray($configArray = [])\n    {","sourceCodeStart":75,"sourceCodeEnd":111,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/system/traits/ConfigMaker.php#L75-L111","documentation":"Error \"system::lang.config.required\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/system/traits/ConfigMaker.php:93 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"}