octobercms/october · error · CmsException
cms::lang.page.not_found_name
Error message
cms::lang.page.not_found_name
What it means
Error "cms::lang.page.not_found_name" thrown in octobercms/october.
Source
Thrown at modules/cms/classes/Controller.php:287
/**
* render a page in its entirety, including component initialization.
* AJAX will be disabled for this process.
* @param string $pageFile Specifies the CMS page file name to run.
* @param array $parameters Routing parameters.
* @param \Cms\Classes\Theme $theme Theme object
*/
public static function render($pageFile, $parameters = [], $theme = null)
{
if (!$theme && (!$theme = Theme::getActiveTheme())) {
throw new CmsException(Lang::get('cms::lang.theme.active.not_found'));
}
$controller = new static($theme);
$controller->getRouter()->setParameters($parameters);
if (($page = Page::load($theme, $pageFile)) === null) {
throw new CmsException(Lang::get('cms::lang.page.not_found_name', ['name'=>$pageFile]));
}
return $controller->runPage($page, ['render' => true]);
}
/**
* runPage runs a page directly from its object and supplied parameters.
* @param \Cms\Classes\Page $page
* @param array $options
* @return string
*/
public function runPage($page, $options = [])
{
// Process options
extract(array_merge([
'capture' => false,
'render' => false
], (array) $options));View on GitHub (pinned to b608633a7e)
When it happens
Trigger: Thrown at modules/cms/classes/Controller.php:287 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/44cfdae0f56d856c.
Report an issue: GitHub.