octobercms/october · error · ApplicationException

Path does not exist: :path

Error message

Path does not exist: :path

What it means

Error "Path does not exist: :path" thrown in octobercms/october.

Source

Thrown at modules/cms/classes/theme/HasConfiguration.php:131

     *
     * If the value is a string, it is treated as a YAML file and loaded.
     */
    public function getConfigArray(string $name): array
    {
        $result = array_get($this->getConfig(), $name, []);

        if (is_string($result)) {
            $fileName = File::symbolizePath($result);

            if (File::isLocalPath($fileName)) {
                $path = $fileName;
            }
            else {
                $path = $this->getPath().'/'.$result;
            }

            if (!File::exists($path)) {
                throw new ApplicationException('Path does not exist: '.$path);
            }

            $result = Yaml::parseFileCached($path);
        }

        return (array) $result;
    }

    /**
     * getPreviewImageUrl returns the theme preview image URL
     *
     * If the image file doesn't exist returns the placeholder image URL.
     */
    public function getPreviewImageUrl(): string
    {
        $previewPath = $this->getConfigValue('previewImage', 'assets/images/theme-preview.png');

        if (File::exists($this->getPath().'/'.$previewPath)) {

View on GitHub (pinned to b608633a7e)

When it happens

Trigger: Thrown at modules/cms/classes/theme/HasConfiguration.php:131 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/68036b815aad1208. Report an issue: GitHub.