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

Please specify a Theme name to install.

Error message

Please specify a Theme name to install.

What it means

Error "Please specify a Theme name to install." thrown in octobercms/october.

Source

Thrown at modules/system/widgets/Updater.php:333

            $this->vars['updateSteps'] = $updateSteps;

            return $this->makePartial('execute');
        }
        catch (Exception $ex) {
            $this->handleError($ex);
            return $this->makePartial('plugin_form');
        }
    }

    /**
     * onInstallThemeCheck requests information from the user about how to install the theme
     */
    public function onInstallThemeCheck()
    {
        try {
            // Locate theme remotely
            if (!$code = trim(post('code'))) {
                throw new ApplicationException(__('Please specify a Theme name to install.'));
            }
            $manager = UpdateManager::instance();
            $details = $manager->requestThemeDetails($code);
            $deps = $this->findProposedDependencies($details['require'] ?? []);

            // Build form
            $formWidget = $this->getThemeCheckFormWidget();
            if (count($deps)) {
                $formWidget->getField('install_requirements')->hidden(false)->options(array_combine($deps, $deps));
                $formWidget->getField('_requirements_ruler')->hidden(false);
            }

            $this->vars['code'] = $code;
            $this->vars['formWidget'] = $formWidget;

            return $this->makePartial('theme_check_form');
        }
        catch (Exception $ex) {

View on GitHub (pinned to b608633a7e)

When it happens

Trigger: Thrown at modules/system/widgets/Updater.php:333 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/636198b3e74f239d. Report an issue: GitHub.