Method Illuminate\Support\Str::transliterate does not exist

Issue

I am using:

Laravel: 9.x-dev

PHP: 8.1.5

laravel/ui: v3.4.5

After updating my application from Laravel 8 to Laravel 9 I get this error when trying to authenticate.

It references line 92 in vendor\laravel\ui\auth-backend\ThrottlesLogins.php

   protected function throttleKey(Request $request)

{

    return Str::transliterate(Str::lower($request->input($this->username())).'|'.$request->ip());

}

Solution

I resolved this error by changing Laravel off the dev release in composer. In my case going from 9.x-dev to 9.1.5

Answered By – karhu

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published