Leantime/leantime · error · InvalidArgumentException

notification.enter_firstname

Error message

notification.enter_firstname

What it means

Error "notification.enter_firstname" thrown in Leantime/leantime.

Source

Thrown at app/Domain/Install/Services/Install.php:67

     *
     * Throws on the first missing field, preserving the original per-field error order
     * (email, firstname, lastname, company). The exception message carries the language
     * key the controller should surface as a notification.
     *
     * @param  array  $values  Submitted install values (email, firstname, lastname, company).
     *
     * @throws \InvalidArgumentException When a required field is missing.
     *
     * @api
     */
    public function validateInstallInput(array $values): void
    {
        if (empty($values['email'])) {
            throw new \InvalidArgumentException('notification.enter_email');
        }

        if (empty($values['firstname'])) {
            throw new \InvalidArgumentException('notification.enter_firstname');
        }

        if (empty($values['lastname'])) {
            throw new \InvalidArgumentException('notification.enter_lastname');
        }

        if (empty($values['company'])) {
            throw new \InvalidArgumentException('notification.enter_company');
        }
    }

    /**
     * runInstall - executes the database setup for a fresh installation.
     *
     * @param  array  $values  Validated install values (email, firstname, lastname, company).
     * @return bool True on successful setup, false otherwise.
     *
     * @api

View on GitHub (pinned to 9a9f49f100)

When it happens

Trigger: Thrown at app/Domain/Install/Services/Install.php:67 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of Leantime/leantime@9a9f49f100 (2026-08-21). Data as JSON: /api/errors/4fd00af3cad90203. Report an issue: GitHub.