{"record":{"id":"9774e96b49215fe9","repo":"octobercms/october","slug":"cms-lang-cms-object-error-creating-directory-9774e9","errorCode":null,"errorMessage":"cms::lang.cms_object.error_creating_directory","messagePattern":"cms::lang\\.cms_object\\.error_creating_directory","errorType":"exception","errorClass":"October\\Rain\\Exception\\ApplicationException","httpStatus":null,"severity":"error","filePath":"modules/tailor/classes/Blueprint.php","lineNumber":465,"sourceCode":"        $forceSave = Arr::get($options, 'force', false);\n        if ($forceSave) {\n            $this->validateFileName($fileName);\n        }\n        else {\n            $this->validate();\n        }\n\n        if (File::isFile($fullPath) && $this->originalFileName !== $fileName) {\n            throw new ApplicationException(Lang::get(\n                'cms::lang.cms_object.file_already_exists',\n                ['name'=>$fileName]\n            ));\n        }\n\n        $dirPath = $this->getBasePath();\n        if (!file_exists($dirPath) || !is_dir($dirPath)) {\n            if (!File::makeDirectory($dirPath, 0755, true, true)) {\n                throw new ApplicationException(Lang::get(\n                    'cms::lang.cms_object.error_creating_directory',\n                    ['name'=>$dirPath]\n                ));\n            }\n        }\n\n        if (strpos($fileName, '/') !== false) {\n            $dirPath = dirname($fullPath);\n\n            if (!is_dir($dirPath) && !File::makeDirectory($dirPath, 0755, true, true)) {\n                throw new ApplicationException(Lang::get(\n                    'cms::lang.cms_object.error_creating_directory',\n                    ['name'=>$dirPath]\n                ));\n            }\n        }\n\n        // Ensure blueprint has uuid","sourceCodeStart":447,"sourceCodeEnd":483,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/tailor/classes/Blueprint.php#L447-L483","documentation":"Error \"cms::lang.cms_object.error_creating_directory\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/tailor/classes/Blueprint.php:465 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"}