octobercms/october · error · ApplicationException

The theme ':name' is not found.

Error message

The theme ':name' is not found.

What it means

Error "The theme ':name' is not found." thrown in octobercms/october.

Source

Thrown at modules/cms/controllers/ThemeOptions.php:168

    {
        $theme = $this->findThemeObject($dirName);

        return ThemeData::forTheme($theme);
    }

    /**
     * findThemeObject
     */
    protected function findThemeObject($name = null)
    {
        if ($name === null) {
            $name = post('theme');
        }

        $theme = $name ? CmsTheme::load($name) : null;

        if (!$theme || !$theme->isValid()) {
            throw new ApplicationException(__("The theme ':name' is not found.", ['name' => $name]));
        }

        return $theme;
    }
}

View on GitHub (pinned to b608633a7e)

When it happens

Trigger: Thrown at modules/cms/controllers/ThemeOptions.php:168 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/0f5c4c8e9abb41fa. Report an issue: GitHub.