Leantime/leantime · error · InvalidArgumentException

notification.enter_email

Error message

notification.enter_email

What it means

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

Source

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

    }

    /**
     * validateInstallInput - validates the admin/company fields submitted during installation.
     *
     * 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.
     *

View on GitHub (pinned to 9a9f49f100)

When it happens

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