Advertisement
Guest User

Untitled

a guest
Jul 11th, 2018
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.45 KB | None | 0 0
  1. {
  2. "error": true,
  3. "message": {
  4. "line": 462,
  5. "track": [
  6. {
  7. "file": "/app/app/Service/CRMService.php",
  8. "line": 462,
  9. "function": "handleError",
  10. "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
  11. "type": "->",
  12. "args": [
  13. 2,
  14. "Invalid argument supplied for foreach()",
  15. "/app/app/Service/CRMService.php",
  16. 462,
  17. {
  18. "data": {
  19. "name": "string",
  20. "address": "string",
  21. "address2": "string",
  22. "city": "string",
  23. "country": "string",
  24. "district": "string",
  25. "long": 0,
  26. "lat": 0,
  27. "address_components": [
  28. {
  29. "long_name": "string",
  30. "short_name": "string",
  31. "types": "string"
  32. }
  33. ],
  34. "postcode": "1000000"
  35. },
  36. "service": {},
  37. "country": false,
  38. "component": {
  39. "long_name": "string",
  40. "short_name": "string",
  41. "types": "string"
  42. }
  43. }
  44. ]
  45. },
  46. {
  47. "file": "/app/app/Service/CRMService.php",
  48. "line": 577,
  49. "function": "createAddressLocation",
  50. "class": "App\\Service\\CRMService",
  51. "type": "->",
  52. "args": [
  53. {
  54. "name": "string",
  55. "address": "string",
  56. "address2": "string",
  57. "city": "string",
  58. "country": "string",
  59. "district": "string",
  60. "long": 0,
  61. "lat": 0,
  62. "address_components": [
  63. {
  64. "long_name": "string",
  65. "short_name": "string",
  66. "types": "string"
  67. }
  68. ],
  69. "postcode": "1000000"
  70. }
  71. ]
  72. },
  73. {
  74. "file": "/app/app/Service/CRMService.php",
  75. "line": 221,
  76. "function": "createAddress",
  77. "class": "App\\Service\\CRMService",
  78. "type": "->",
  79. "args": [
  80. {
  81. "name": "string",
  82. "address": "string",
  83. "address2": "string",
  84. "city": "string",
  85. "country": "string",
  86. "district": "string",
  87. "long": 0,
  88. "lat": 0,
  89. "address_components": [
  90. {
  91. "long_name": "string",
  92. "short_name": "string",
  93. "types": "string"
  94. }
  95. ],
  96. "postcode": "1000000"
  97. },
  98. {
  99. "phone": "06983145557",
  100. "email": "ptchuongk52thc12@gmail.com",
  101. "country_code": "81",
  102. "lang": "string",
  103. "name": "Phan thanh",
  104. "surname": "kim",
  105. "phonetic": "Kim",
  106. "gender": 0,
  107. "dob": "2018-04-01",
  108. "addresses": [
  109. {
  110. "name": "string",
  111. "address": "string",
  112. "address2": "string",
  113. "city": "string",
  114. "country": "string",
  115. "district": "string",
  116. "long": 0,
  117. "lat": 0,
  118. "address_components": [
  119. {
  120. "long_name": "string",
  121. "short_name": "string",
  122. "types": "string"
  123. }
  124. ],
  125. "postcode": "1000000"
  126. }
  127. ],
  128. "secret_key": "qbktxJY33PKha53jkCpdu6CkFJNZvqds",
  129. "outlet_uuid": "c24c7150-7833-11e8-9b95-5b39b86585b6",
  130. "customer_uuid": "ed9ad330-84ce-11e8-9f8a-cdcf53c98f89"
  131. },
  132. {
  133. "outlet_uuid": "c24c7150-7833-11e8-9b95-5b39b86585b6",
  134. "customer_uuid": "ed9ad330-84ce-11e8-9f8a-cdcf53c98f89",
  135. "name": "Phan thanh",
  136. "surname": "kim",
  137. "dob": "2018-04-01",
  138. "email": "ptchuongk52thc12@gmail.com",
  139. "phone": "06983145557",
  140. "country_code": "81",
  141. "gender": 0,
  142. "phonetic": "Kim",
  143. "updated_at": "2018-07-11 05:54:51",
  144. "created_at": "2018-07-11 05:54:51"
  145. }
  146. ]
  147. },
  148. {
  149. "file": "/app/app/Service/CRMService.php",
  150. "line": 170,
  151. "function": "createCustomerNotExistInDonut",
  152. "class": "App\\Service\\CRMService",
  153. "type": "->",
  154. "args": [
  155. {
  156. "phone": "06983145557",
  157. "email": "ptchuongk52thc12@gmail.com",
  158. "country_code": "81",
  159. "lang": "string",
  160. "name": "Phan thanh",
  161. "surname": "kim",
  162. "phonetic": "Kim",
  163. "gender": 0,
  164. "dob": "2018-04-01",
  165. "addresses": [
  166. {
  167. "name": "string",
  168. "address": "string",
  169. "address2": "string",
  170. "city": "string",
  171. "country": "string",
  172. "district": "string",
  173. "long": 0,
  174. "lat": 0,
  175. "address_components": [
  176. {
  177. "long_name": "string",
  178. "short_name": "string",
  179. "types": "string"
  180. }
  181. ],
  182. "postcode": "1000000"
  183. }
  184. ],
  185. "secret_key": "qbktxJY33PKha53jkCpdu6CkFJNZvqds",
  186. "outlet_uuid": "c24c7150-7833-11e8-9b95-5b39b86585b6",
  187. "customer_uuid": "ed9ad330-84ce-11e8-9f8a-cdcf53c98f89"
  188. },
  189. "06983145557",
  190. "ptchuongk52thc12@gmail.com",
  191. "81",
  192. []
  193. ]
  194. },
  195. {
  196. "file": "/app/app/Http/Controllers/Consumer/CRMController.php",
  197. "line": 85,
  198. "function": "createCustomer",
  199. "class": "App\\Service\\CRMService",
  200. "type": "->",
  201. "args": [
  202. {
  203. "phone": "06983145557",
  204. "email": "ptchuongk52thc12@gmail.com",
  205. "country_code": "81",
  206. "lang": "string",
  207. "name": "Phan thanh",
  208. "surname": "kim",
  209. "phonetic": "Kim",
  210. "gender": 0,
  211. "dob": "2018-04-01",
  212. "addresses": [
  213. {
  214. "name": "string",
  215. "address": "string",
  216. "address2": "string",
  217. "city": "string",
  218. "country": "string",
  219. "district": "string",
  220. "long": 0,
  221. "lat": 0,
  222. "address_components": [
  223. {
  224. "long_name": "string",
  225. "short_name": "string",
  226. "types": "string"
  227. }
  228. ],
  229. "postcode": "1000000"
  230. }
  231. ],
  232. "secret_key": "qbktxJY33PKha53jkCpdu6CkFJNZvqds",
  233. "outlet_uuid": "c24c7150-7833-11e8-9b95-5b39b86585b6"
  234. },
  235. []
  236. ]
  237. },
  238. {
  239. "function": "createCustomer",
  240. "class": "App\\Http\\Controllers\\Consumer\\CRMController",
  241. "type": "->",
  242. "args": [
  243. {}
  244. ]
  245. },
  246. {
  247. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Controller.php",
  248. "line": 55,
  249. "function": "call_user_func_array",
  250. "args": [
  251. [
  252. {
  253. "request": null,
  254. "input": {
  255. "phone": "06983145557",
  256. "email": "ptchuongk52thc12@gmail.com",
  257. "country_code": "81",
  258. "lang": "string",
  259. "name": "Phan thanh",
  260. "surname": "kim",
  261. "phonetic": "Kim",
  262. "gender": 0,
  263. "dob": "2018-04-01",
  264. "addresses": [
  265. {
  266. "name": "string",
  267. "address": "string",
  268. "address2": "string",
  269. "city": "string",
  270. "country": "string",
  271. "district": "string",
  272. "long": 0,
  273. "lat": 0,
  274. "address_components": [
  275. {
  276. "long_name": "string",
  277. "short_name": "string",
  278. "types": "string"
  279. }
  280. ],
  281. "postcode": "1000000"
  282. }
  283. ],
  284. "secret_key": "qbktxJY33PKha53jkCpdu6CkFJNZvqds",
  285. "outlet_uuid": "c24c7150-7833-11e8-9b95-5b39b86585b6"
  286. },
  287. "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MzEyODk3NDYsImlzX3JlZnJlc2hfdG9rZW4iOnRydWUsInN1YiI6IjZiNzZlM2EwLTc4MzMtMTFlOC05OTU1LWZkYTk2MDYwZWYxZiIsImlzcyI6Imh0dHBzOi8vYWNsLWRvdC1ob3R0YWItaW4uYXBwc3BvdC5jb20vYXBpL3YyL2xvZ2luIiwiaWF0IjoxNTMxMjg2MTQ2LCJuYmYiOjE1MzEyODYxNDYsImp0aSI6IklPZ1RuMm1GY2xadkJUTlEifQ.6CM4xBBtjc1_gXmJBOAjeMX6WE1S-dg6p1zEM2Rr0r0",
  288. "user": {
  289. "id": null,
  290. "user_uuid": "6b76e3a0-7833-11e8-9955-fda96060ef1f",
  291. "email": "laundryjpn@gmail.com",
  292. "first_name": null,
  293. "last_name": null,
  294. "phone": null,
  295. "country_code": null,
  296. "status": 1,
  297. "boarding_step": 3,
  298. "photo": null,
  299. "created_by": null,
  300. "type": 1,
  301. "provider": null,
  302. "provider_id": null,
  303. "created_at": "2018-06-25 04:51:27",
  304. "updated_at": "2018-06-25 04:53:29",
  305. "verified": 1
  306. },
  307. "lang": null
  308. },
  309. "createCustomer"
  310. ],
  311. [
  312. {}
  313. ]
  314. ]
  315. },
  316. {
  317. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
  318. "line": 44,
  319. "function": "callAction",
  320. "class": "Illuminate\\Routing\\Controller",
  321. "type": "->",
  322. "args": [
  323. "createCustomer",
  324. [
  325. {}
  326. ]
  327. ]
  328. },
  329. {
  330. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
  331. "line": 203,
  332. "function": "dispatch",
  333. "class": "Illuminate\\Routing\\ControllerDispatcher",
  334. "type": "->",
  335. "args": [
  336. {
  337. "uri": "customer/outlets",
  338. "methods": [
  339. "POST"
  340. ],
  341. "action": {
  342. "middleware": [
  343. "check-route-key",
  344. "user.roles",
  345. "check-outlet"
  346. ],
  347. "uses": "\\App\\Http\\Controllers\\Consumer\\CRMController@createCustomer",
  348. "controller": "\\App\\Http\\Controllers\\Consumer\\CRMController@createCustomer",
  349. "namespace": "\\App\\Http\\Controllers\\Consumer",
  350. "prefix": "customer",
  351. "where": []
  352. },
  353. "controller": {
  354. "request": null,
  355. "input": {
  356. "phone": "06983145557",
  357. "email": "ptchuongk52thc12@gmail.com",
  358. "country_code": "81",
  359. "lang": "string",
  360. "name": "Phan thanh",
  361. "surname": "kim",
  362. "phonetic": "Kim",
  363. "gender": 0,
  364. "dob": "2018-04-01",
  365. "addresses": [
  366. {
  367. "name": "string",
  368. "address": "string",
  369. "address2": "string",
  370. "city": "string",
  371. "country": "string",
  372. "district": "string",
  373. "long": 0,
  374. "lat": 0,
  375. "address_components": [
  376. {
  377. "long_name": "string",
  378. "short_name": "string",
  379. "types": "string"
  380. }
  381. ],
  382. "postcode": "1000000"
  383. }
  384. ],
  385. "secret_key": "qbktxJY33PKha53jkCpdu6CkFJNZvqds",
  386. "outlet_uuid": "c24c7150-7833-11e8-9b95-5b39b86585b6"
  387. },
  388. "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MzEyODk3NDYsImlzX3JlZnJlc2hfdG9rZW4iOnRydWUsInN1YiI6IjZiNzZlM2EwLTc4MzMtMTFlOC05OTU1LWZkYTk2MDYwZWYxZiIsImlzcyI6Imh0dHBzOi8vYWNsLWRvdC1ob3R0YWItaW4uYXBwc3BvdC5jb20vYXBpL3YyL2xvZ2luIiwiaWF0IjoxNTMxMjg2MTQ2LCJuYmYiOjE1MzEyODYxNDYsImp0aSI6IklPZ1RuMm1GY2xadkJUTlEifQ.6CM4xBBtjc1_gXmJBOAjeMX6WE1S-dg6p1zEM2Rr0r0",
  389. "user": {
  390. "id": null,
  391. "user_uuid": "6b76e3a0-7833-11e8-9955-fda96060ef1f",
  392. "email": "laundryjpn@gmail.com",
  393. "first_name": null,
  394. "last_name": null,
  395. "phone": null,
  396. "country_code": null,
  397. "status": 1,
  398. "boarding_step": 3,
  399. "photo": null,
  400. "created_by": null,
  401. "type": 1,
  402. "provider": null,
  403. "provider_id": null,
  404. "created_at": "2018-06-25 04:51:27",
  405. "updated_at": "2018-06-25 04:53:29",
  406. "verified": 1
  407. },
  408. "lang": null
  409. },
  410. "defaults": [],
  411. "wheres": [],
  412. "parameters": [],
  413. "parameterNames": [],
  414. "computedMiddleware": [
  415. "check-route-key",
  416. "user.roles",
  417. "check-outlet"
  418. ],
  419. "compiled": {}
  420. },
  421. {
  422. "request": null,
  423. "input": {
  424. "phone": "06983145557",
  425. "email": "ptchuongk52thc12@gmail.com",
  426. "country_code": "81",
  427. "lang": "string",
  428. "name": "Phan thanh",
  429. "surname": "kim",
  430. "phonetic": "Kim",
  431. "gender": 0,
  432. "dob": "2018-04-01",
  433. "addresses": [
  434. {
  435. "name": "string",
  436. "address": "string",
  437. "address2": "string",
  438. "city": "string",
  439. "country": "string",
  440. "district": "string",
  441. "long": 0,
  442. "lat": 0,
  443. "address_components": [
  444. {
  445. "long_name": "string",
  446. "short_name": "string",
  447. "types": "string"
  448. }
  449. ],
  450. "postcode": "1000000"
  451. }
  452. ],
  453. "secret_key": "qbktxJY33PKha53jkCpdu6CkFJNZvqds",
  454. "outlet_uuid": "c24c7150-7833-11e8-9b95-5b39b86585b6"
  455. },
  456. "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MzEyODk3NDYsImlzX3JlZnJlc2hfdG9rZW4iOnRydWUsInN1YiI6IjZiNzZlM2EwLTc4MzMtMTFlOC05OTU1LWZkYTk2MDYwZWYxZiIsImlzcyI6Imh0dHBzOi8vYWNsLWRvdC1ob3R0YWItaW4uYXBwc3BvdC5jb20vYXBpL3YyL2xvZ2luIiwiaWF0IjoxNTMxMjg2MTQ2LCJuYmYiOjE1MzEyODYxNDYsImp0aSI6IklPZ1RuMm1GY2xadkJUTlEifQ.6CM4xBBtjc1_gXmJBOAjeMX6WE1S-dg6p1zEM2Rr0r0",
  457. "user": {
  458. "id": null,
  459. "user_uuid": "6b76e3a0-7833-11e8-9955-fda96060ef1f",
  460. "email": "laundryjpn@gmail.com",
  461. "first_name": null,
  462. "last_name": null,
  463. "phone": null,
  464. "country_code": null,
  465. "status": 1,
  466. "boarding_step": 3,
  467. "photo": null,
  468. "created_by": null,
  469. "type": 1,
  470. "provider": null,
  471. "provider_id": null,
  472. "created_at": "2018-06-25 04:51:27",
  473. "updated_at": "2018-06-25 04:53:29",
  474. "verified": 1
  475. },
  476. "lang": null
  477. },
  478. "createCustomer"
  479. ]
  480. },
  481. {
  482. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
  483. "line": 160,
  484. "function": "runController",
  485. "class": "Illuminate\\Routing\\Route",
  486. "type": "->",
  487. "args": []
  488. },
  489. {
  490. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
  491. "line": 572,
  492. "function": "run",
  493. "class": "Illuminate\\Routing\\Route",
  494. "type": "->",
  495. "args": []
  496. },
  497. {
  498. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  499. "line": 30,
  500. "function": "Illuminate\\Routing\\{closure}",
  501. "class": "Illuminate\\Routing\\Router",
  502. "type": "->",
  503. "args": [
  504. {
  505. "attributes": {},
  506. "request": {},
  507. "query": {},
  508. "server": {},
  509. "files": {},
  510. "cookies": {},
  511. "headers": {}
  512. }
  513. ]
  514. },
  515. {
  516. "file": "/app/app/Http/Middleware/CheckOutlet.php",
  517. "line": 96,
  518. "function": "Illuminate\\Routing\\{closure}",
  519. "class": "Illuminate\\Routing\\Pipeline",
  520. "type": "->",
  521. "args": [
  522. {
  523. "attributes": {},
  524. "request": {},
  525. "query": {},
  526. "server": {},
  527. "files": {},
  528. "cookies": {},
  529. "headers": {}
  530. }
  531. ]
  532. },
  533. {
  534. "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  535. "line": 148,
  536. "function": "handle",
  537. "class": "App\\Http\\Middleware\\CheckOutlet",
  538. "type": "->",
  539. "args": [
  540. {
  541. "attributes": {},
  542. "request": {},
  543. "query": {},
  544. "server": {},
  545. "files": {},
  546. "cookies": {},
  547. "headers": {}
  548. },
  549. {}
  550. ]
  551. },
  552. {
  553. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  554. "line": 53,
  555. "function": "Illuminate\\Pipeline\\{closure}",
  556. "class": "Illuminate\\Pipeline\\Pipeline",
  557. "type": "->",
  558. "args": [
  559. {
  560. "attributes": {},
  561. "request": {},
  562. "query": {},
  563. "server": {},
  564. "files": {},
  565. "cookies": {},
  566. "headers": {}
  567. }
  568. ]
  569. },
  570. {
  571. "file": "/app/app/Http/Middleware/CheckRoles.php",
  572. "line": 68,
  573. "function": "Illuminate\\Routing\\{closure}",
  574. "class": "Illuminate\\Routing\\Pipeline",
  575. "type": "->",
  576. "args": [
  577. {
  578. "attributes": {},
  579. "request": {},
  580. "query": {},
  581. "server": {},
  582. "files": {},
  583. "cookies": {},
  584. "headers": {}
  585. }
  586. ]
  587. },
  588. {
  589. "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  590. "line": 148,
  591. "function": "handle",
  592. "class": "App\\Http\\Middleware\\CheckRoles",
  593. "type": "->",
  594. "args": [
  595. {
  596. "attributes": {},
  597. "request": {},
  598. "query": {},
  599. "server": {},
  600. "files": {},
  601. "cookies": {},
  602. "headers": {}
  603. },
  604. {}
  605. ]
  606. },
  607. {
  608. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  609. "line": 53,
  610. "function": "Illuminate\\Pipeline\\{closure}",
  611. "class": "Illuminate\\Pipeline\\Pipeline",
  612. "type": "->",
  613. "args": [
  614. {
  615. "attributes": {},
  616. "request": {},
  617. "query": {},
  618. "server": {},
  619. "files": {},
  620. "cookies": {},
  621. "headers": {}
  622. }
  623. ]
  624. },
  625. {
  626. "file": "/app/app/Http/Middleware/CheckRouteKey.php",
  627. "line": 53,
  628. "function": "Illuminate\\Routing\\{closure}",
  629. "class": "Illuminate\\Routing\\Pipeline",
  630. "type": "->",
  631. "args": [
  632. {
  633. "attributes": {},
  634. "request": {},
  635. "query": {},
  636. "server": {},
  637. "files": {},
  638. "cookies": {},
  639. "headers": {}
  640. }
  641. ]
  642. },
  643. {
  644. "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  645. "line": 148,
  646. "function": "handle",
  647. "class": "App\\Http\\Middleware\\CheckRouteKey",
  648. "type": "->",
  649. "args": [
  650. {
  651. "attributes": {},
  652. "request": {},
  653. "query": {},
  654. "server": {},
  655. "files": {},
  656. "cookies": {},
  657. "headers": {}
  658. },
  659. {}
  660. ]
  661. },
  662. {
  663. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  664. "line": 53,
  665. "function": "Illuminate\\Pipeline\\{closure}",
  666. "class": "Illuminate\\Pipeline\\Pipeline",
  667. "type": "->",
  668. "args": [
  669. {
  670. "attributes": {},
  671. "request": {},
  672. "query": {},
  673. "server": {},
  674. "files": {},
  675. "cookies": {},
  676. "headers": {}
  677. }
  678. ]
  679. },
  680. {
  681. "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  682. "line": 102,
  683. "function": "Illuminate\\Routing\\{closure}",
  684. "class": "Illuminate\\Routing\\Pipeline",
  685. "type": "->",
  686. "args": [
  687. {
  688. "attributes": {},
  689. "request": {},
  690. "query": {},
  691. "server": {},
  692. "files": {},
  693. "cookies": {},
  694. "headers": {}
  695. }
  696. ]
  697. },
  698. {
  699. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
  700. "line": 574,
  701. "function": "then",
  702. "class": "Illuminate\\Pipeline\\Pipeline",
  703. "type": "->",
  704. "args": [
  705. {}
  706. ]
  707. },
  708. {
  709. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
  710. "line": 533,
  711. "function": "runRouteWithinStack",
  712. "class": "Illuminate\\Routing\\Router",
  713. "type": "->",
  714. "args": [
  715. {
  716. "uri": "customer/outlets",
  717. "methods": [
  718. "POST"
  719. ],
  720. "action": {
  721. "middleware": [
  722. "check-route-key",
  723. "user.roles",
  724. "check-outlet"
  725. ],
  726. "uses": "\\App\\Http\\Controllers\\Consumer\\CRMController@createCustomer",
  727. "controller": "\\App\\Http\\Controllers\\Consumer\\CRMController@createCustomer",
  728. "namespace": "\\App\\Http\\Controllers\\Consumer",
  729. "prefix": "customer",
  730. "where": []
  731. },
  732. "controller": {
  733. "request": null,
  734. "input": {
  735. "phone": "06983145557",
  736. "email": "ptchuongk52thc12@gmail.com",
  737. "country_code": "81",
  738. "lang": "string",
  739. "name": "Phan thanh",
  740. "surname": "kim",
  741. "phonetic": "Kim",
  742. "gender": 0,
  743. "dob": "2018-04-01",
  744. "addresses": [
  745. {
  746. "name": "string",
  747. "address": "string",
  748. "address2": "string",
  749. "city": "string",
  750. "country": "string",
  751. "district": "string",
  752. "long": 0,
  753. "lat": 0,
  754. "address_components": [
  755. {
  756. "long_name": "string",
  757. "short_name": "string",
  758. "types": "string"
  759. }
  760. ],
  761. "postcode": "1000000"
  762. }
  763. ],
  764. "secret_key": "qbktxJY33PKha53jkCpdu6CkFJNZvqds",
  765. "outlet_uuid": "c24c7150-7833-11e8-9b95-5b39b86585b6"
  766. },
  767. "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MzEyODk3NDYsImlzX3JlZnJlc2hfdG9rZW4iOnRydWUsInN1YiI6IjZiNzZlM2EwLTc4MzMtMTFlOC05OTU1LWZkYTk2MDYwZWYxZiIsImlzcyI6Imh0dHBzOi8vYWNsLWRvdC1ob3R0YWItaW4uYXBwc3BvdC5jb20vYXBpL3YyL2xvZ2luIiwiaWF0IjoxNTMxMjg2MTQ2LCJuYmYiOjE1MzEyODYxNDYsImp0aSI6IklPZ1RuMm1GY2xadkJUTlEifQ.6CM4xBBtjc1_gXmJBOAjeMX6WE1S-dg6p1zEM2Rr0r0",
  768. "user": {
  769. "id": null,
  770. "user_uuid": "6b76e3a0-7833-11e8-9955-fda96060ef1f",
  771. "email": "laundryjpn@gmail.com",
  772. "first_name": null,
  773. "last_name": null,
  774. "phone": null,
  775. "country_code": null,
  776. "status": 1,
  777. "boarding_step": 3,
  778. "photo": null,
  779. "created_by": null,
  780. "type": 1,
  781. "provider": null,
  782. "provider_id": null,
  783. "created_at": "2018-06-25 04:51:27",
  784. "updated_at": "2018-06-25 04:53:29",
  785. "verified": 1
  786. },
  787. "lang": null
  788. },
  789. "defaults": [],
  790. "wheres": [],
  791. "parameters": [],
  792. "parameterNames": [],
  793. "computedMiddleware": [
  794. "check-route-key",
  795. "user.roles",
  796. "check-outlet"
  797. ],
  798. "compiled": {}
  799. },
  800. {
  801. "attributes": {},
  802. "request": {},
  803. "query": {},
  804. "server": {},
  805. "files": {},
  806. "cookies": {},
  807. "headers": {}
  808. }
  809. ]
  810. },
  811. {
  812. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
  813. "line": 511,
  814. "function": "dispatchToRoute",
  815. "class": "Illuminate\\Routing\\Router",
  816. "type": "->",
  817. "args": [
  818. {
  819. "attributes": {},
  820. "request": {},
  821. "query": {},
  822. "server": {},
  823. "files": {},
  824. "cookies": {},
  825. "headers": {}
  826. }
  827. ]
  828. },
  829. {
  830. "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
  831. "line": 176,
  832. "function": "dispatch",
  833. "class": "Illuminate\\Routing\\Router",
  834. "type": "->",
  835. "args": [
  836. {
  837. "attributes": {},
  838. "request": {},
  839. "query": {},
  840. "server": {},
  841. "files": {},
  842. "cookies": {},
  843. "headers": {}
  844. }
  845. ]
  846. },
  847. {
  848. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  849. "line": 30,
  850. "function": "Illuminate\\Foundation\\Http\\{closure}",
  851. "class": "Illuminate\\Foundation\\Http\\Kernel",
  852. "type": "->",
  853. "args": [
  854. {
  855. "attributes": {},
  856. "request": {},
  857. "query": {},
  858. "server": {},
  859. "files": {},
  860. "cookies": {},
  861. "headers": {}
  862. }
  863. ]
  864. },
  865. {
  866. "file": "/app/vendor/barryvdh/laravel-cors/src/HandleCors.php",
  867. "line": 37,
  868. "function": "Illuminate\\Routing\\{closure}",
  869. "class": "Illuminate\\Routing\\Pipeline",
  870. "type": "->",
  871. "args": [
  872. {
  873. "attributes": {},
  874. "request": {},
  875. "query": {},
  876. "server": {},
  877. "files": {},
  878. "cookies": {},
  879. "headers": {}
  880. }
  881. ]
  882. },
  883. {
  884. "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  885. "line": 148,
  886. "function": "handle",
  887. "class": "Barryvdh\\Cors\\HandleCors",
  888. "type": "->",
  889. "args": [
  890. {
  891. "attributes": {},
  892. "request": {},
  893. "query": {},
  894. "server": {},
  895. "files": {},
  896. "cookies": {},
  897. "headers": {}
  898. },
  899. {}
  900. ]
  901. },
  902. {
  903. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  904. "line": 53,
  905. "function": "Illuminate\\Pipeline\\{closure}",
  906. "class": "Illuminate\\Pipeline\\Pipeline",
  907. "type": "->",
  908. "args": [
  909. {
  910. "attributes": {},
  911. "request": {},
  912. "query": {},
  913. "server": {},
  914. "files": {},
  915. "cookies": {},
  916. "headers": {}
  917. }
  918. ]
  919. },
  920. {
  921. "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
  922. "line": 30,
  923. "function": "Illuminate\\Routing\\{closure}",
  924. "class": "Illuminate\\Routing\\Pipeline",
  925. "type": "->",
  926. "args": [
  927. {
  928. "attributes": {},
  929. "request": {},
  930. "query": {},
  931. "server": {},
  932. "files": {},
  933. "cookies": {},
  934. "headers": {}
  935. }
  936. ]
  937. },
  938. {
  939. "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  940. "line": 148,
  941. "function": "handle",
  942. "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
  943. "type": "->",
  944. "args": [
  945. {
  946. "attributes": {},
  947. "request": {},
  948. "query": {},
  949. "server": {},
  950. "files": {},
  951. "cookies": {},
  952. "headers": {}
  953. },
  954. {}
  955. ]
  956. },
  957. {
  958. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  959. "line": 53,
  960. "function": "Illuminate\\Pipeline\\{closure}",
  961. "class": "Illuminate\\Pipeline\\Pipeline",
  962. "type": "->",
  963. "args": [
  964. {
  965. "attributes": {},
  966. "request": {},
  967. "query": {},
  968. "server": {},
  969. "files": {},
  970. "cookies": {},
  971. "headers": {}
  972. }
  973. ]
  974. },
  975. {
  976. "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
  977. "line": 30,
  978. "function": "Illuminate\\Routing\\{closure}",
  979. "class": "Illuminate\\Routing\\Pipeline",
  980. "type": "->",
  981. "args": [
  982. {
  983. "attributes": {},
  984. "request": {},
  985. "query": {},
  986. "server": {},
  987. "files": {},
  988. "cookies": {},
  989. "headers": {}
  990. }
  991. ]
  992. },
  993. {
  994. "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  995. "line": 148,
  996. "function": "handle",
  997. "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
  998. "type": "->",
  999. "args": [
  1000. {
  1001. "attributes": {},
  1002. "request": {},
  1003. "query": {},
  1004. "server": {},
  1005. "files": {},
  1006. "cookies": {},
  1007. "headers": {}
  1008. },
  1009. {}
  1010. ]
  1011. },
  1012. {
  1013. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  1014. "line": 53,
  1015. "function": "Illuminate\\Pipeline\\{closure}",
  1016. "class": "Illuminate\\Pipeline\\Pipeline",
  1017. "type": "->",
  1018. "args": [
  1019. {
  1020. "attributes": {},
  1021. "request": {},
  1022. "query": {},
  1023. "server": {},
  1024. "files": {},
  1025. "cookies": {},
  1026. "headers": {}
  1027. }
  1028. ]
  1029. },
  1030. {
  1031. "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php",
  1032. "line": 27,
  1033. "function": "Illuminate\\Routing\\{closure}",
  1034. "class": "Illuminate\\Routing\\Pipeline",
  1035. "type": "->",
  1036. "args": [
  1037. {
  1038. "attributes": {},
  1039. "request": {},
  1040. "query": {},
  1041. "server": {},
  1042. "files": {},
  1043. "cookies": {},
  1044. "headers": {}
  1045. }
  1046. ]
  1047. },
  1048. {
  1049. "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  1050. "line": 148,
  1051. "function": "handle",
  1052. "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
  1053. "type": "->",
  1054. "args": [
  1055. {
  1056. "attributes": {},
  1057. "request": {},
  1058. "query": {},
  1059. "server": {},
  1060. "files": {},
  1061. "cookies": {},
  1062. "headers": {}
  1063. },
  1064. {}
  1065. ]
  1066. },
  1067. {
  1068. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  1069. "line": 53,
  1070. "function": "Illuminate\\Pipeline\\{closure}",
  1071. "class": "Illuminate\\Pipeline\\Pipeline",
  1072. "type": "->",
  1073. "args": [
  1074. {
  1075. "attributes": {},
  1076. "request": {},
  1077. "query": {},
  1078. "server": {},
  1079. "files": {},
  1080. "cookies": {},
  1081. "headers": {}
  1082. }
  1083. ]
  1084. },
  1085. {
  1086. "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php",
  1087. "line": 46,
  1088. "function": "Illuminate\\Routing\\{closure}",
  1089. "class": "Illuminate\\Routing\\Pipeline",
  1090. "type": "->",
  1091. "args": [
  1092. {
  1093. "attributes": {},
  1094. "request": {},
  1095. "query": {},
  1096. "server": {},
  1097. "files": {},
  1098. "cookies": {},
  1099. "headers": {}
  1100. }
  1101. ]
  1102. },
  1103. {
  1104. "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  1105. "line": 148,
  1106. "function": "handle",
  1107. "class": "Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode",
  1108. "type": "->",
  1109. "args": [
  1110. {
  1111. "attributes": {},
  1112. "request": {},
  1113. "query": {},
  1114. "server": {},
  1115. "files": {},
  1116. "cookies": {},
  1117. "headers": {}
  1118. },
  1119. {}
  1120. ]
  1121. },
  1122. {
  1123. "file": "/app/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
  1124. "line": 53,
  1125. "function": "Illuminate\\Pipeline\\{closure}",
  1126. "class": "Illuminate\\Pipeline\\Pipeline",
  1127. "type": "->",
  1128. "args": [
  1129. {
  1130. "attributes": {},
  1131. "request": {},
  1132. "query": {},
  1133. "server": {},
  1134. "files": {},
  1135. "cookies": {},
  1136. "headers": {}
  1137. }
  1138. ]
  1139. },
  1140. {
  1141. "file": "/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
  1142. "line": 102,
  1143. "function": "Illuminate\\Routing\\{closure}",
  1144. "class": "Illuminate\\Routing\\Pipeline",
  1145. "type": "->",
  1146. "args": [
  1147. {
  1148. "attributes": {},
  1149. "request": {},
  1150. "query": {},
  1151. "server": {},
  1152. "files": {},
  1153. "cookies": {},
  1154. "headers": {}
  1155. }
  1156. ]
  1157. },
  1158. {
  1159. "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
  1160. "line": 151,
  1161. "function": "then",
  1162. "class": "Illuminate\\Pipeline\\Pipeline",
  1163. "type": "->",
  1164. "args": [
  1165. {}
  1166. ]
  1167. },
  1168. {
  1169. "file": "/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
  1170. "line": 116,
  1171. "function": "sendRequestThroughRouter",
  1172. "class": "Illuminate\\Foundation\\Http\\Kernel",
  1173. "type": "->",
  1174. "args": [
  1175. {
  1176. "attributes": {},
  1177. "request": {},
  1178. "query": {},
  1179. "server": {},
  1180. "files": {},
  1181. "cookies": {},
  1182. "headers": {}
  1183. }
  1184. ]
  1185. },
  1186. {
  1187. "file": "/app/public/index.php",
  1188. "line": 55,
  1189. "function": "handle",
  1190. "class": "Illuminate\\Foundation\\Http\\Kernel",
  1191. "type": "->",
  1192. "args": [
  1193. {
  1194. "attributes": {},
  1195. "request": {},
  1196. "query": {},
  1197. "server": {},
  1198. "files": {},
  1199. "cookies": {},
  1200. "headers": {}
  1201. }
  1202. ]
  1203. }
  1204. ],
  1205. "general": {
  1206. "message": "Invalid argument supplied for foreach()",
  1207. "code": "invalid_argument_supplied_for_foreach"
  1208. }
  1209. }
  1210. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement