I am trying to do multi authentication but I am getting this error how do I fix it I have tried composer require Laravel/ui but its not helping

Viewed 18

PS C:\xampp\htdocs\new> composer dumpautoload Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover --ansi

BadMethodCallException

Method Illuminate\Auth\SessionGuard::route does not exist.

at C:\xampp\htdocs\new\vendor\laravel\framework\src\Illuminate\Macroable\Traits\Macroable.php:113 109▕ */ 110▕ public function __call($method, $parameters) 111▕ { 112▕ if (! static::hasMacro($method)) { ➜ 113▕ throw new BadMethodCallException(sprintf( 114▕ 'Method %s::%s does not exist.', static::class, $method 115▕ ));

i Bad Method Call: Did you mean Illuminate\Auth\SessionGuard::logout() ?

1 C:\xampp\htdocs\new\vendor\laravel\framework\src\Illuminate\Auth\AuthManager.php:332 Illuminate\Auth\SessionGuard::__call("route", [])

2 C:\xampp\htdocs\new\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php:338 Illuminate\Auth\AuthManager::__call("route", []) Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1 PS C:\xampp\htdocs\new> ^C

0 Answers
Related