octobercms/october · error · October\Rain\Exception\SystemException

backend::lang.partial.not_found_name

Error message

backend::lang.partial.not_found_name

What it means

Error "backend::lang.partial.not_found_name" thrown in octobercms/october.

Source

Thrown at modules/system/traits/ViewMaker.php:97

     * makePartial renders a partial file contents located in the views folder
     * @param string $partial The view to load.
     * @param array $params Parameter variables to pass to the view.
     * @param bool $throwException Throw an exception if the partial is not found.
     * @return mixed Partial contents or false if not throwing an exception.
     */
    public function makePartial($partial, $params = [], $throwException = true)
    {
        $notRealPath = realpath($partial) === false || is_dir($partial) === true;
        if (!File::isPathSymbol($partial) && $notRealPath) {
            $folder = strpos($partial, '/') !== false ? dirname($partial) . '/' : '';
            $partial = $folder . '_' . strtolower(basename($partial));
        }

        $partialPath = $this->getViewPath($partial);

        if (!$partialPath || !File::exists($partialPath)) {
            if ($throwException) {
                throw new SystemException(Lang::get('backend::lang.partial.not_found_name', ['name' => $partial]));
            }

            return false;
        }

        return $this->makeFileContents($partialPath, $params);
    }

    /**
     * makeView loads a view with the name specified. Applies layout if its name is provided
     * by the parent object. The view file must be situated in the views directory, and has
     * the extension "htm" or "php"
     * @param string $view Specifies the view name, without extension. Eg: "index".
     * @return string
     */
    public function makeView($view)
    {
        $viewPath = $this->getViewPath(strtolower($view));

View on GitHub (pinned to b608633a7e)

When it happens

Trigger: Thrown at modules/system/traits/ViewMaker.php:97 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/a4e913245a1d8abc. Report an issue: GitHub.