Leantime/leantime · error · InvalidArgumentException

notification.enter_lastname

Error message

notification.enter_lastname

What it means

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

Source

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

     *
     * @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
     */
    public function runInstall(array $values): bool
    {
        return $this->installRepo->setupDB($values);

View on GitHub (pinned to 9a9f49f100)

When it happens

Trigger: Thrown at app/Domain/Install/Services/Install.php:71 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/281cb9a22124e4e3. Report an issue: GitHub.