octobercms/october · error · October\Rain\Exception\SystemException
system::lang.config.not_found
Error message
system::lang.config.not_found
What it means
Error "system::lang.config.not_found" thrown in octobercms/october.
Source
Thrown at modules/system/traits/ConfigMaker.php:55
// Config already made
if (is_object($configFile)) {
$config = $configFile;
}
// Embedded config
elseif (is_array($configFile)) {
$config = $this->makeConfigFromArray($configFile);
}
// Process config from file contents
else {
if (isset($this->controller) && method_exists($this->controller, 'getConfigPath')) {
$configFile = $this->controller->getConfigPath($configFile);
}
else {
$configFile = $this->getConfigPath($configFile);
}
if (!File::isFile($configFile)) {
throw new SystemException(Lang::get(
'system::lang.config.not_found',
['file' => $configFile, 'location' => get_called_class()]
));
}
$config = Yaml::parseFileCached($configFile);
/**
* @event system.extendConfigFile
* Provides an opportunity to modify config files
*
* Example usage:
*
* Event::listen('system.extendConfigFile', function ((string) $path, (array) $config) {
* if ($path === '/plugins/author/plugin-name/controllers/mycontroller/config_relation.yaml') {
* unset($config['property_value']['view']['recordUrl']);
* return $config;
* }View on GitHub (pinned to b608633a7e)
When it happens
Trigger: Thrown at modules/system/traits/ConfigMaker.php:55 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of octobercms/october@b608633a7e (2026-08-21).
Data as JSON: /api/errors/e533817de381e0d7.
Report an issue: GitHub.