{"record":{"id":"74af73dddb7289e4","repo":"octobercms/october","slug":"the-theme-name-is-not-found-74af73","errorCode":null,"errorMessage":"The theme ':name' is not found.","messagePattern":"The theme ':name' is not found\\.","errorType":"exception","errorClass":"ApplicationException","httpStatus":null,"severity":"error","filePath":"modules/cms/controllers/Themes.php","lineNumber":481,"sourceCode":"    }\n\n    //\n    // Util\n    //\n\n    /**\n     * findThemeObject\n     */\n    protected function findThemeObject($name = null)\n    {\n        if ($name === null) {\n            $name = post('theme');\n        }\n\n        $theme = $name ? CmsTheme::load($name) : null;\n\n        if (!$theme || !$theme->isValid()) {\n            throw new ApplicationException(__(\"The theme ':name' is not found.\", ['name' => $name]));\n        }\n\n        return $theme;\n    }\n}\n","sourceCodeStart":463,"sourceCodeEnd":487,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/cms/controllers/Themes.php#L463-L487","documentation":"Error \"The theme ':name' is not found.\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/cms/controllers/Themes.php:481 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"}