octobercms/october · error · ApplicationException
backend::lang.partial.invalid_name
Error message
backend::lang.partial.invalid_name
What it means
Error "backend::lang.partial.invalid_name" thrown in octobercms/october.
Source
Thrown at modules/backend/classes/Controller.php:462
public function getAjaxHandler()
{
$request = $this->getAjaxRequest();
if ($request->hasAjaxHandler()) {
return $request->qualifiedHandler;
}
return null;
}
/**
* makePartialForAjax proxies to makePartial
* @see \Larajax\Traits\AjaxController
*/
protected function makePartialForAjax($partial)
{
if (!preg_match('/^(?!.*\/\/)[a-z0-9\_][a-z0-9\_\-\/]*$/i', $partial)) {
throw new ApplicationException(Lang::get('backend::lang.partial.invalid_name', ['name'=>e($partial)]));
}
return $this->makePartial($partial);
}
/**
* makeCallForAjax proxies to makeCallMethod
* @see \Larajax\Traits\AjaxController
*/
protected function makeCallForAjax($callable, $parameters)
{
[$instance, $method] = $callable;
if ($instance instanceof \Backend\Classes\WidgetBase) {
$this->addViewPath($instance->getViewPaths());
$result = $this->makeCallMethod($instance, $method, $parameters);
View on GitHub (pinned to b608633a7e)
When it happens
Trigger: Thrown at modules/backend/classes/Controller.php:462 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/ecb3ea764ec05786.
Report an issue: GitHub.