octobercms/october · error · ApplicationException

Missing a hint name.

Error message

Missing a hint name.

What it means

Error "Missing a hint name." thrown in octobercms/october.

Source

Thrown at modules/backend/classes/Controller.php:677

        }

        return $this->makeLayoutPartial('hint', [
            'hintName' => $name,
            'hintPartial' => $partial,
            'hintContent' => array_get($params, 'content'),
            'hintParams' => $params
        ] + $params);
    }

    /**
     * onHideBackendHint ajax handler to hide a backend hint, once hidden the partial
     * will no longer display for the user.
     * @return void
     */
    public function onHideBackendHint()
    {
        if (!$name = post('name')) {
            throw new ApplicationException('Missing a hint name.');
        }

        $preferences = UserPreference::forUser();
        $hiddenHints = $preferences->get('backend::hints.hidden', []);
        $hiddenHints[$name] = 1;

        $preferences->set('backend::hints.hidden', $hiddenHints);
    }

    /**
     * isBackendHintHidden checks if a hint has been hidden by the user.
     * @param  string $name Unique key name
     * @return bool
     */
    public function isBackendHintHidden($name)
    {
        $hiddenHints = UserPreference::forUser()->get('backend::hints.hidden', []);
        return array_key_exists($name, $hiddenHints);

View on GitHub (pinned to b608633a7e)

When it happens

Trigger: Thrown at modules/backend/classes/Controller.php:677 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/d5fc69677fb83749. Report an issue: GitHub.