octobercms/october · error · October\Rain\Exception\ApplicationException
cms::lang.cms_object.error_saving
Error message
cms::lang.cms_object.error_saving
What it means
Error "cms::lang.cms_object.error_saving" thrown in octobercms/october.
Source
Thrown at modules/tailor/classes/Blueprint.php:493
if (!is_dir($dirPath) && !File::makeDirectory($dirPath, 0755, true, true)) {
throw new ApplicationException(Lang::get(
'cms::lang.cms_object.error_creating_directory',
['name'=>$dirPath]
));
}
}
// Ensure blueprint has uuid
if (!$this->uuid) {
$this->uuid = Str::uuid()->toString();
$newContent = 'uuid: ' . $this->uuid . PHP_EOL;
$newContent .= $this->content;
$this->content = $newContent;
}
$newFullPath = $fullPath;
if (@File::put($fullPath, $this->content) === false) {
throw new ApplicationException(Lang::get(
'cms::lang.cms_object.error_saving',
['name' => $fileName]
));
}
if (strlen($this->originalFileName) && $this->originalFileName !== $fileName) {
$fullPath = $this->getFilePath($this->originalFileName);
if (File::isFile($fullPath)) {
@unlink($fullPath);
}
}
clearstatcache();
$this->mtime = @File::lastModified($newFullPath);
$this->originalFileName = $fileName;
$this->exists = true;View on GitHub (pinned to b608633a7e)
When it happens
Trigger: Thrown at modules/tailor/classes/Blueprint.php:493 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/aa65b832ed3770e7.
Report an issue: GitHub.