Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "message": "Type error: Argument 1 passed to Tymon\\JWTAuth\\JWT::fromUser() must be an instance of Tymon\\JWTAuth\\Contracts\\JWTSubject, instance of App\\User given, called in /var/www/yandex_taxi_site/vendor/tymon/jwt-auth/src/JWTAuth.php on line 54",
- "exception": "Symfony\\Component\\Debug\\Exception\\FatalThrowableError",
- "file": "/var/www/yandex_taxi_site/vendor/tymon/jwt-auth/src/JWT.php",
- "line": 88,
- "trace": [
- {
- "file": "/var/www/yandex_taxi_site/vendor/tymon/jwt-auth/src/JWTAuth.php",
- "line": 54,
- "function": "fromUser",
- "class": "Tymon\\JWTAuth\\JWT",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php",
- "line": 221,
- "function": "attempt",
- "class": "Tymon\\JWTAuth\\JWTAuth",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/app/Http/Controllers/JWTAuth/LoginController.php",
- "line": 35,
- "function": "__callStatic",
- "class": "Illuminate\\Support\\Facades\\Facade",
- "type": "::"
- },
- {
- "function": "login",
- "class": "App\\Http\\Controllers\\JWTAuth\\LoginController",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Controller.php",
- "line": 54,
- "function": "call_user_func_array"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
- "line": 45,
- "function": "callAction",
- "class": "Illuminate\\Routing\\Controller",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
- "line": 212,
- "function": "dispatch",
- "class": "Illuminate\\Routing\\ControllerDispatcher",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
- "line": 169,
- "function": "runController",
- "class": "Illuminate\\Routing\\Route",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
- "line": 658,
- "function": "run",
- "class": "Illuminate\\Routing\\Route",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
- "line": 30,
- "function": "Illuminate\\Routing\\{closure}",
- "class": "Illuminate\\Routing\\Router",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php",
- "line": 41,
- "function": "Illuminate\\Routing\\{closure}",
- "class": "Illuminate\\Routing\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
- "line": 149,
- "function": "handle",
- "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
- "line": 53,
- "function": "Illuminate\\Pipeline\\{closure}",
- "class": "Illuminate\\Pipeline\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php",
- "line": 57,
- "function": "Illuminate\\Routing\\{closure}",
- "class": "Illuminate\\Routing\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
- "line": 149,
- "function": "handle",
- "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
- "line": 53,
- "function": "Illuminate\\Pipeline\\{closure}",
- "class": "Illuminate\\Pipeline\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
- "line": 102,
- "function": "Illuminate\\Routing\\{closure}",
- "class": "Illuminate\\Routing\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
- "line": 660,
- "function": "then",
- "class": "Illuminate\\Pipeline\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
- "line": 635,
- "function": "runRouteWithinStack",
- "class": "Illuminate\\Routing\\Router",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
- "line": 601,
- "function": "runRoute",
- "class": "Illuminate\\Routing\\Router",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
- "line": 590,
- "function": "dispatchToRoute",
- "class": "Illuminate\\Routing\\Router",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
- "line": 176,
- "function": "dispatch",
- "class": "Illuminate\\Routing\\Router",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
- "line": 30,
- "function": "Illuminate\\Foundation\\Http\\{closure}",
- "class": "Illuminate\\Foundation\\Http\\Kernel",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/fideloper/proxy/src/TrustProxies.php",
- "line": 56,
- "function": "Illuminate\\Routing\\{closure}",
- "class": "Illuminate\\Routing\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
- "line": 149,
- "function": "handle",
- "class": "Fideloper\\Proxy\\TrustProxies",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
- "line": 53,
- "function": "Illuminate\\Pipeline\\{closure}",
- "class": "Illuminate\\Pipeline\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
- "line": 30,
- "function": "Illuminate\\Routing\\{closure}",
- "class": "Illuminate\\Routing\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
- "line": 149,
- "function": "handle",
- "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
- "line": 53,
- "function": "Illuminate\\Pipeline\\{closure}",
- "class": "Illuminate\\Pipeline\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
- "line": 30,
- "function": "Illuminate\\Routing\\{closure}",
- "class": "Illuminate\\Routing\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
- "line": 149,
- "function": "handle",
- "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
- "line": 53,
- "function": "Illuminate\\Pipeline\\{closure}",
- "class": "Illuminate\\Pipeline\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php",
- "line": 27,
- "function": "Illuminate\\Routing\\{closure}",
- "class": "Illuminate\\Routing\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
- "line": 149,
- "function": "handle",
- "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
- "line": 53,
- "function": "Illuminate\\Pipeline\\{closure}",
- "class": "Illuminate\\Pipeline\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php",
- "line": 46,
- "function": "Illuminate\\Routing\\{closure}",
- "class": "Illuminate\\Routing\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
- "line": 149,
- "function": "handle",
- "class": "Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
- "line": 53,
- "function": "Illuminate\\Pipeline\\{closure}",
- "class": "Illuminate\\Pipeline\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
- "line": 102,
- "function": "Illuminate\\Routing\\{closure}",
- "class": "Illuminate\\Routing\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
- "line": 151,
- "function": "then",
- "class": "Illuminate\\Pipeline\\Pipeline",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
- "line": 116,
- "function": "sendRequestThroughRouter",
- "class": "Illuminate\\Foundation\\Http\\Kernel",
- "type": "->"
- },
- {
- "file": "/var/www/yandex_taxi_site/public/index.php",
- "line": 55,
- "function": "handle",
- "class": "Illuminate\\Foundation\\Http\\Kernel",
- "type": "->"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement