Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.33 KB | None | 0 0
  1. {
  2. "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",
  3. "exception": "Symfony\\Component\\Debug\\Exception\\FatalThrowableError",
  4. "file": "/var/www/yandex_taxi_site/vendor/tymon/jwt-auth/src/JWT.php",
  5. "line": 88,
  6. "trace": [
  7. {
  8. "file": "/var/www/yandex_taxi_site/vendor/tymon/jwt-auth/src/JWTAuth.php",
  9. "line": 54,
  10. "function": "fromUser",
  11. "class": "Tymon\\JWTAuth\\JWT",
  12. "type": "->"
  13. },
  14. {
  15. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php",
  16. "line": 221,
  17. "function": "attempt",
  18. "class": "Tymon\\JWTAuth\\JWTAuth",
  19. "type": "->"
  20. },
  21. {
  22. "file": "/var/www/yandex_taxi_site/app/Http/Controllers/JWTAuth/LoginController.php",
  23. "line": 35,
  24. "function": "__callStatic",
  25. "class": "Illuminate\\Support\\Facades\\Facade",
  26. "type": "::"
  27. },
  28. {
  29. "function": "login",
  30. "class": "App\\Http\\Controllers\\JWTAuth\\LoginController",
  31. "type": "->"
  32. },
  33. {
  34. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Controller.php",
  35. "line": 54,
  36. "function": "call_user_func_array"
  37. },
  38. {
  39. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
  40. "line": 45,
  41. "function": "callAction",
  42. "class": "Illuminate\\Routing\\Controller",
  43. "type": "->"
  44. },
  45. {
  46. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
  47. "line": 212,
  48. "function": "dispatch",
  49. "class": "Illuminate\\Routing\\ControllerDispatcher",
  50. "type": "->"
  51. },
  52. {
  53. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
  54. "line": 169,
  55. "function": "runController",
  56. "class": "Illuminate\\Routing\\Route",
  57. "type": "->"
  58. },
  59. {
  60. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
  61. "line": 658,
  62. "function": "run",
  63. "class": "Illuminate\\Routing\\Route",
  64. "type": "->"
  65. },
  66. {
  67. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  68. "line": 30,
  69. "function": "Illuminate\\Routing\\{closure}",
  70. "class": "Illuminate\\Routing\\Router",
  71. "type": "->"
  72. },
  73. {
  74. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php",
  75. "line": 41,
  76. "function": "Illuminate\\Routing\\{closure}",
  77. "class": "Illuminate\\Routing\\Pipeline",
  78. "type": "->"
  79. },
  80. {
  81. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  82. "line": 149,
  83. "function": "handle",
  84. "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
  85. "type": "->"
  86. },
  87. {
  88. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  89. "line": 53,
  90. "function": "Illuminate\\Pipeline\\{closure}",
  91. "class": "Illuminate\\Pipeline\\Pipeline",
  92. "type": "->"
  93. },
  94. {
  95. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php",
  96. "line": 57,
  97. "function": "Illuminate\\Routing\\{closure}",
  98. "class": "Illuminate\\Routing\\Pipeline",
  99. "type": "->"
  100. },
  101. {
  102. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  103. "line": 149,
  104. "function": "handle",
  105. "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
  106. "type": "->"
  107. },
  108. {
  109. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  110. "line": 53,
  111. "function": "Illuminate\\Pipeline\\{closure}",
  112. "class": "Illuminate\\Pipeline\\Pipeline",
  113. "type": "->"
  114. },
  115. {
  116. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  117. "line": 102,
  118. "function": "Illuminate\\Routing\\{closure}",
  119. "class": "Illuminate\\Routing\\Pipeline",
  120. "type": "->"
  121. },
  122. {
  123. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
  124. "line": 660,
  125. "function": "then",
  126. "class": "Illuminate\\Pipeline\\Pipeline",
  127. "type": "->"
  128. },
  129. {
  130. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
  131. "line": 635,
  132. "function": "runRouteWithinStack",
  133. "class": "Illuminate\\Routing\\Router",
  134. "type": "->"
  135. },
  136. {
  137. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
  138. "line": 601,
  139. "function": "runRoute",
  140. "class": "Illuminate\\Routing\\Router",
  141. "type": "->"
  142. },
  143. {
  144. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
  145. "line": 590,
  146. "function": "dispatchToRoute",
  147. "class": "Illuminate\\Routing\\Router",
  148. "type": "->"
  149. },
  150. {
  151. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
  152. "line": 176,
  153. "function": "dispatch",
  154. "class": "Illuminate\\Routing\\Router",
  155. "type": "->"
  156. },
  157. {
  158. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  159. "line": 30,
  160. "function": "Illuminate\\Foundation\\Http\\{closure}",
  161. "class": "Illuminate\\Foundation\\Http\\Kernel",
  162. "type": "->"
  163. },
  164. {
  165. "file": "/var/www/yandex_taxi_site/vendor/fideloper/proxy/src/TrustProxies.php",
  166. "line": 56,
  167. "function": "Illuminate\\Routing\\{closure}",
  168. "class": "Illuminate\\Routing\\Pipeline",
  169. "type": "->"
  170. },
  171. {
  172. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  173. "line": 149,
  174. "function": "handle",
  175. "class": "Fideloper\\Proxy\\TrustProxies",
  176. "type": "->"
  177. },
  178. {
  179. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  180. "line": 53,
  181. "function": "Illuminate\\Pipeline\\{closure}",
  182. "class": "Illuminate\\Pipeline\\Pipeline",
  183. "type": "->"
  184. },
  185. {
  186. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
  187. "line": 30,
  188. "function": "Illuminate\\Routing\\{closure}",
  189. "class": "Illuminate\\Routing\\Pipeline",
  190. "type": "->"
  191. },
  192. {
  193. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  194. "line": 149,
  195. "function": "handle",
  196. "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
  197. "type": "->"
  198. },
  199. {
  200. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  201. "line": 53,
  202. "function": "Illuminate\\Pipeline\\{closure}",
  203. "class": "Illuminate\\Pipeline\\Pipeline",
  204. "type": "->"
  205. },
  206. {
  207. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
  208. "line": 30,
  209. "function": "Illuminate\\Routing\\{closure}",
  210. "class": "Illuminate\\Routing\\Pipeline",
  211. "type": "->"
  212. },
  213. {
  214. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  215. "line": 149,
  216. "function": "handle",
  217. "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
  218. "type": "->"
  219. },
  220. {
  221. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  222. "line": 53,
  223. "function": "Illuminate\\Pipeline\\{closure}",
  224. "class": "Illuminate\\Pipeline\\Pipeline",
  225. "type": "->"
  226. },
  227. {
  228. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php",
  229. "line": 27,
  230. "function": "Illuminate\\Routing\\{closure}",
  231. "class": "Illuminate\\Routing\\Pipeline",
  232. "type": "->"
  233. },
  234. {
  235. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  236. "line": 149,
  237. "function": "handle",
  238. "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
  239. "type": "->"
  240. },
  241. {
  242. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  243. "line": 53,
  244. "function": "Illuminate\\Pipeline\\{closure}",
  245. "class": "Illuminate\\Pipeline\\Pipeline",
  246. "type": "->"
  247. },
  248. {
  249. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php",
  250. "line": 46,
  251. "function": "Illuminate\\Routing\\{closure}",
  252. "class": "Illuminate\\Routing\\Pipeline",
  253. "type": "->"
  254. },
  255. {
  256. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  257. "line": 149,
  258. "function": "handle",
  259. "class": "Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode",
  260. "type": "->"
  261. },
  262. {
  263. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  264. "line": 53,
  265. "function": "Illuminate\\Pipeline\\{closure}",
  266. "class": "Illuminate\\Pipeline\\Pipeline",
  267. "type": "->"
  268. },
  269. {
  270. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  271. "line": 102,
  272. "function": "Illuminate\\Routing\\{closure}",
  273. "class": "Illuminate\\Routing\\Pipeline",
  274. "type": "->"
  275. },
  276. {
  277. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
  278. "line": 151,
  279. "function": "then",
  280. "class": "Illuminate\\Pipeline\\Pipeline",
  281. "type": "->"
  282. },
  283. {
  284. "file": "/var/www/yandex_taxi_site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
  285. "line": 116,
  286. "function": "sendRequestThroughRouter",
  287. "class": "Illuminate\\Foundation\\Http\\Kernel",
  288. "type": "->"
  289. },
  290. {
  291. "file": "/var/www/yandex_taxi_site/public/index.php",
  292. "line": 55,
  293. "function": "handle",
  294. "class": "Illuminate\\Foundation\\Http\\Kernel",
  295. "type": "->"
  296. }
  297. ]
  298. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement