{"record":{"id":"d5fc69677fb83749","repo":"octobercms/october","slug":"missing-a-hint-name","errorCode":null,"errorMessage":"Missing a hint name.","messagePattern":"Missing a hint name\\.","errorType":"exception","errorClass":"ApplicationException","httpStatus":null,"severity":"error","filePath":"modules/backend/classes/Controller.php","lineNumber":677,"sourceCode":"        }\n\n        return $this->makeLayoutPartial('hint', [\n            'hintName' => $name,\n            'hintPartial' => $partial,\n            'hintContent' => array_get($params, 'content'),\n            'hintParams' => $params\n        ] + $params);\n    }\n\n    /**\n     * onHideBackendHint ajax handler to hide a backend hint, once hidden the partial\n     * will no longer display for the user.\n     * @return void\n     */\n    public function onHideBackendHint()\n    {\n        if (!$name = post('name')) {\n            throw new ApplicationException('Missing a hint name.');\n        }\n\n        $preferences = UserPreference::forUser();\n        $hiddenHints = $preferences->get('backend::hints.hidden', []);\n        $hiddenHints[$name] = 1;\n\n        $preferences->set('backend::hints.hidden', $hiddenHints);\n    }\n\n    /**\n     * isBackendHintHidden checks if a hint has been hidden by the user.\n     * @param  string $name Unique key name\n     * @return bool\n     */\n    public function isBackendHintHidden($name)\n    {\n        $hiddenHints = UserPreference::forUser()->get('backend::hints.hidden', []);\n        return array_key_exists($name, $hiddenHints);","sourceCodeStart":659,"sourceCodeEnd":695,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/classes/Controller.php#L659-L695","documentation":"Error \"Missing a hint name.\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/classes/Controller.php:677 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"}