Argument 1 passed to Illuminate\Auth\SessionGuard::login() must be an instance of laravel code example
Example 1: Argument 2 passed to Illuminate\Routing\UrlGenerator::__construct() must be an instance of Illuminat e\Http\Request
Please make sure that you are not using any url() or asset() or other helpers
functions inside your configuration files
Example 2: Argument 2 passed to App\Exceptions\Handler::unauthenticated() must be an instance of App\Exceptions\AuthenticationException, instance of Illuminate\Auth\AuthenticationException given
namespace App\Exceptions;
use Exception;
use Request;
use Illuminate\Auth\AuthenticationException;
use Response;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;