{"record":{"id":"a4e913245a1d8abc","repo":"octobercms/october","slug":"backend-lang-partial-not-found-name","errorCode":null,"errorMessage":"backend::lang.partial.not_found_name","messagePattern":"backend::lang\\.partial\\.not_found_name","errorType":"exception","errorClass":"October\\Rain\\Exception\\SystemException","httpStatus":null,"severity":"error","filePath":"modules/system/traits/ViewMaker.php","lineNumber":97,"sourceCode":"     * makePartial renders a partial file contents located in the views folder\n     * @param string $partial The view to load.\n     * @param array $params Parameter variables to pass to the view.\n     * @param bool $throwException Throw an exception if the partial is not found.\n     * @return mixed Partial contents or false if not throwing an exception.\n     */\n    public function makePartial($partial, $params = [], $throwException = true)\n    {\n        $notRealPath = realpath($partial) === false || is_dir($partial) === true;\n        if (!File::isPathSymbol($partial) && $notRealPath) {\n            $folder = strpos($partial, '/') !== false ? dirname($partial) . '/' : '';\n            $partial = $folder . '_' . strtolower(basename($partial));\n        }\n\n        $partialPath = $this->getViewPath($partial);\n\n        if (!$partialPath || !File::exists($partialPath)) {\n            if ($throwException) {\n                throw new SystemException(Lang::get('backend::lang.partial.not_found_name', ['name' => $partial]));\n            }\n\n            return false;\n        }\n\n        return $this->makeFileContents($partialPath, $params);\n    }\n\n    /**\n     * makeView loads a view with the name specified. Applies layout if its name is provided\n     * by the parent object. The view file must be situated in the views directory, and has\n     * the extension \"htm\" or \"php\"\n     * @param string $view Specifies the view name, without extension. Eg: \"index\".\n     * @return string\n     */\n    public function makeView($view)\n    {\n        $viewPath = $this->getViewPath(strtolower($view));","sourceCodeStart":79,"sourceCodeEnd":115,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/system/traits/ViewMaker.php#L79-L115","documentation":"Error \"backend::lang.partial.not_found_name\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/system/traits/ViewMaker.php:97 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b608633a7e8922487d91a8161499020121c3b3bf","analyzedAt":"2026-08-21T04:24:57.515Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}