Laravel Call to undefined function Illuminate\Validation\lang()

Shard Ice

Новичок
Всем привет!
Кастомизирую продукт на Laravel и столкнулся с проблемой

добавил пункт проверки таблицы в ProfileRequest.php
'domain' => 'required|unique:users,domain',
PHP:
    public function rules()
    {
        $rules = [
            'name' => 'required|max:191',
            'email' => 'required|max:191|unique:users,email,' . user()->id,
            'password' => 'nullable|confirmed|max:191|min:6',
            'picture' => 'mimes:jpg,jpeg,png|max:' . maxUploadFileSize(),
            'phone_country_code' => 'required',
            'phone_number' => 'required|unique:users,phone_number,' . user()->id,
            'domain' => 'required|unique:users,domain',
        ];

        return $rules;
    }
после чего начал получать в laravel.log
[2019-01-20 15:53:28] local.ERROR: Call to undefined function Illuminate\Validation\lang() {"userId":197,"email":"[email protected]","exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to undefined function Illuminate\\Validation\\lang() at I:\\TSD\\OSPanel\\domains\\laravel.local\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\ValidationException.php:56)
Помогите, пожалуйста с двумя вопросами.
Куда добавить перевод?
Как сделать/добавить своё сообщение об ошибке (в данном случаи: - домен занят!)
 
Сверху