octobercms/october · error · October\Rain\Exception\ValidationException
tailor::lang.blueprint.invalid_file
Error message
tailor::lang.blueprint.invalid_file
What it means
Error "tailor::lang.blueprint.invalid_file" thrown in octobercms/october.
Source
Thrown at modules/tailor/classes/Blueprint.php:573
throw new ValidationException(['fileName' =>
Lang::get('cms::lang.cms_object.file_name_required', [
'allowed' => implode(', ', $this->allowedExtensions),
'invalid' => pathinfo($fileName, PATHINFO_EXTENSION)
])
]);
}
if (!FileHelper::validateExtension($fileName, $this->allowedExtensions, false)) {
throw new ValidationException(['fileName' =>
Lang::get('cms::lang.cms_object.invalid_file_extension', [
'allowed' => implode(', ', $this->allowedExtensions),
'invalid' => pathinfo($fileName, PATHINFO_EXTENSION)
])
]);
}
if (!FileHelper::validatePath($fileName, null)) {
throw new ValidationException(['fileName' =>
Lang::get('tailor::lang.blueprint.invalid_file', [
'name' => $fileName
])
]);
}
}
/**
* validate the blueprint
*/
public function validate()
{
$this->validateFileName();
BlueprintVerifier::instance()->verifyBlueprint($this);
}
/**View on GitHub (pinned to b608633a7e)
When it happens
Trigger: Thrown at modules/tailor/classes/Blueprint.php:573 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/522efc728f1a7639.
Report an issue: GitHub.