{"record":{"id":"61dbb4c80bb06430","repo":"typecho/typecho","slug":"error-61dbb4","errorCode":null,"errorMessage":"您选择的风格不存在","messagePattern":"您选择的风格不存在","errorType":"exception","errorClass":"Typecho\\Widget\\Exception","httpStatus":null,"severity":"error","filePath":"var/Widget/Themes/Edit.php","lineNumber":75,"sourceCode":"                    $form = new Form();\n                    themeConfig($form);\n                    $options = $form->getValues();\n\n                    if ($options && !$this->configHandle($options, true)) {\n                        $this->insert([\n                            'name'  => 'theme:' . $theme,\n                            'value' => json_encode($options),\n                            'user'  => 0\n                        ]);\n                    }\n                }\n            }\n\n            Notice::alloc()->highlight('theme-' . $theme);\n            Notice::alloc()->set(_t(\"外观已经改变\"), 'success');\n            $this->response->goBack();\n        } else {\n            throw new Exception(_t('您选择的风格不存在'));\n        }\n    }\n\n    /**\n     * 用自有函数处理配置信息\n     *\n     * @param array $settings 配置值\n     * @param boolean $isInit 是否为初始化\n     * @return boolean\n     */\n    public function configHandle(array $settings, bool $isInit): bool\n    {\n        if (function_exists('themeConfigHandle')) {\n            themeConfigHandle($settings, $isInit);\n            return true;\n        }\n\n        return false;","sourceCodeStart":57,"sourceCodeEnd":93,"githubUrl":"https://github.com/typecho/typecho/blob/56f4c6f33955a87969c399b5d5912d7f9fd7347c/var/Widget/Themes/Edit.php#L57-L93","documentation":"Error \"您选择的风格不存在\" thrown in typecho/typecho.","triggerScenarios":"Thrown at var/Widget/Themes/Edit.php:75 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":"56f4c6f33955a87969c399b5d5912d7f9fd7347c","analyzedAt":"2026-08-21T01:52:37.175Z","schemaVersion":2},"datasetVersion":"2026-08-21T03:17:12.404Z"}