octobercms/october · error · October\Rain\Exception\SystemException

system::lang.config.required

Error message

system::lang.config.required

What it means

Error "system::lang.config.required" thrown in octobercms/october.

Source

Thrown at modules/system/traits/ConfigMaker.php:93

             *
             */
            $publicFile = File::localToPublic($configFile);
            if ($results = Event::fire('system.extendConfigFile', [$publicFile, $config])) {
                foreach ($results as $result) {
                    if (!is_array($result)) {
                        continue;
                    }
                    $config = array_merge($config, $result);
                }
            }

            $config = $this->makeConfigFromArray($config);
        }

        // Validate required configuration
        foreach ($requiredConfig as $property) {
            if (!property_exists($config, $property)) {
                throw new SystemException(Lang::get(
                    'system::lang.config.required',
                    ['property' => $property, 'location' => get_called_class()]
                ));
            }
        }

        return $config;
    }

    /**
     * makeConfigFromArray makes a config object from an array, making the first
     * level keys properties of a new object.
     *
     * @param array $configArray Config array.
     * @return stdClass The config object
     */
    public function makeConfigFromArray($configArray = [])
    {

View on GitHub (pinned to b608633a7e)

When it happens

Trigger: Thrown at modules/system/traits/ConfigMaker.php:93 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/cbbafff3a843346c. Report an issue: GitHub.