[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: Xed315d5eb9842c799a878c3ec7a28eb4.json
{"__meta":{"id":"Xed315d5eb9842c799a878c3ec7a28eb4","datetime":"2025-03-05 12:35:56","utime":1741156556.418552,"method":"GET","uri":"\/api\/admin\/table-order?paginate=1&page=1&per_page=10&order_column=id&order_by=desc&order_type=20&exceptSource=15","ip":"127.0.0.1"},"php":{"version":"8.2.27","interface":"fpm-fcgi"},"messages":{"count":3,"messages":[{"message":"[12:35:56] LOG.info: Detected N+1 Query","message_html":null,"is_string":false,"label":"info","time":1741156556.418389,"xdebug_link":null,"collector":"log"},{"message":"[12:35:56] LOG.info: Model: App\\Models\\User\nRelation: Spatie\\Permission\\Models\\Role\nNum-Called: 2\nCall-Stack:\n#16 \/app\/Http\/Resources\/OrderResource.php:39\n#17 \/vendor\/laravel\/framework\/src\/Illuminate\/Collections\/HigherOrderCollectionProxy.php:60\n#20 \/vendor\/laravel\/framework\/src\/Illuminate\/Collections\/Collection.php:768\n#21 \/vendor\/laravel\/framework\/src\/Illuminate\/Collections\/HigherOrderCollectionProxy.php:59\n#22 \/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php:101\n#23 \/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/JsonResource.php:94\n#24 \/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/PaginatedResourceResponse.php:19\n#25 \/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php:133\n#26 \/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php:113\n#27 \/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php:888\n#28 \/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php:875\n#29 \/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php:797\n#30 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:141\n#31 \/vendor\/spatie\/laravel-permission\/src\/Middlewares\/PermissionMiddleware.php:24\n#32 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#33 \/app\/Http\/Middleware\/localization.php:15\n#34 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#35 \/app\/Http\/Middleware\/ApiKeyMiddleware.php:22\n#36 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#37 \/app\/Http\/Middleware\/Installed.php:21\n#38 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#39 \/app\/Http\/Middleware\/JsonMiddleware.php:20\n#40 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#41 \/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/SubstituteBindings.php:50\n#42 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#43 \/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/ThrottleRequests.php:126\n#44 \/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/ThrottleRequests.php:57\n#45 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#46 \/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/Authenticate.php:44\n#47 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#48 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:116\n#49 \/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php:797\n","message_html":null,"is_string":false,"label":"info","time":1741156556.418452,"xdebug_link":null,"collector":"log"},{"message":"[12:35:56] LOG.info: Model: App\\Models\\User\nRelation: Spatie\\MediaLibrary\\MediaCollections\\Models\\Media\nNum-Called: 2\nCall-Stack:\n#17 \/app\/Http\/Resources\/OrderResource.php:39\n#18 \/vendor\/laravel\/framework\/src\/Illuminate\/Collections\/HigherOrderCollectionProxy.php:60\n#21 \/vendor\/laravel\/framework\/src\/Illuminate\/Collections\/Collection.php:768\n#22 \/vendor\/laravel\/framework\/src\/Illuminate\/Collections\/HigherOrderCollectionProxy.php:59\n#23 \/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php:101\n#24 \/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/JsonResource.php:94\n#25 \/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/PaginatedResourceResponse.php:19\n#26 \/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php:133\n#27 \/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php:113\n#28 \/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php:888\n#29 \/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php:875\n#30 \/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php:797\n#31 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:141\n#32 \/vendor\/spatie\/laravel-permission\/src\/Middlewares\/PermissionMiddleware.php:24\n#33 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#34 \/app\/Http\/Middleware\/localization.php:15\n#35 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#36 \/app\/Http\/Middleware\/ApiKeyMiddleware.php:22\n#37 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#38 \/app\/Http\/Middleware\/Installed.php:21\n#39 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#40 \/app\/Http\/Middleware\/JsonMiddleware.php:20\n#41 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#42 \/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/SubstituteBindings.php:50\n#43 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#44 \/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/ThrottleRequests.php:126\n#45 \/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/ThrottleRequests.php:57\n#46 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#47 \/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/Authenticate.php:44\n#48 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:180\n#49 \/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php:116\n","message_html":null,"is_string":false,"label":"info","time":1741156556.418492,"xdebug_link":null,"collector":"log"}]},"time":{"start":1741156556.363989,"end":1741156556.418561,"duration":0.05457186698913574,"duration_str":"54.57ms","measures":[{"label":"Booting","start":1741156556.363989,"relative_start":0,"end":1741156556.395023,"relative_end":1741156556.395023,"duration":0.031033992767333984,"duration_str":"31.03ms","memory":0,"memory_str":"0B","params":[],"collector":"time"},{"label":"Application","start":1741156556.395033,"relative_start":0.03104376792907715,"end":1741156556.418562,"relative_end":9.5367431640625e-7,"duration":0.023529052734375,"duration_str":"23.53ms","memory":0,"memory_str":"0B","params":[],"collector":"time"}]},"memory":{"peak_usage":2821040,"peak_usage_str":"3MB"},"exceptions":{"count":0,"exceptions":[]},"views":{"nb_templates":0,"templates":[]},"route":{"uri":"GET api\/admin\/table-order","middleware":"api, installed, apiKey, auth:sanctum, localization, permission:table-orders","controller":"App\\Http\\Controllers\\Admin\\TableOrderController@index","as":"admin.tableOrder.","namespace":null,"prefix":"api\/admin\/table-order","where":[],"file":"<a href=\"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FHttp%2FControllers%2FAdmin%2FTableOrderController.php&line=35\" onclick=\"\">app\/Http\/Controllers\/Admin\/TableOrderController.php:35-42<\/a>"},"queries":{"nb_statements":17,"nb_visible_statements":17,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.005769999999999999,"accumulated_duration_str":"5.77ms","memory_usage":0,"memory_usage_str":null,"statements":[{"sql":"select `permissions`.*, `model_has_permissions`.`model_id` as `pivot_model_id`, `model_has_permissions`.`permission_id` as `pivot_permission_id`, `model_has_permissions`.`model_type` as `pivot_model_type` from `permissions` inner join `model_has_permissions` on `permissions`.`id` = `model_has_permissions`.`permission_id` where `model_has_permissions`.`model_id` = 1 and `model_has_permissions`.`model_type` = 'App\\Models\\User'","type":"query","params":[],"bindings":[1,"App\\Models\\User"],"hints":null,"show_copy":true,"backtrace":[{"index":19,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":305},{"index":20,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":193},{"index":21,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":244},{"index":22,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","line":136},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Access\/Gate.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Access\/Gate.php","line":553}],"start":1741156556.4009979,"duration":0.0006,"duration_str":"600\u03bcs","memory":0,"memory_str":null,"filename":"HasPermissions.php:305","source":{"index":19,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":305},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FTraits%2FHasPermissions.php&line=305","ajax":false,"filename":"HasPermissions.php","line":"305"},"connection":"foodscan","explain":null,"start_percent":0,"width_percent":10.399},{"sql":"select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (1) and `model_has_roles`.`model_type` = 'App\\Models\\User'","type":"query","params":[],"bindings":["App\\Models\\User"],"hints":null,"show_copy":true,"backtrace":[{"index":21,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","line":188},{"index":22,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":291},{"index":23,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":193},{"index":24,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":244},{"index":25,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","line":136}],"start":1741156556.4025562,"duration":0.00044,"duration_str":"440\u03bcs","memory":0,"memory_str":null,"filename":"HasRoles.php:188","source":{"index":21,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","line":188},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FTraits%2FHasRoles.php&line=188","ajax":false,"filename":"HasRoles.php","line":"188"},"connection":"foodscan","explain":null,"start_percent":10.399,"width_percent":7.626},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/OrderService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/OrderService.php","line":104},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/TableOrderController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/TableOrderController.php","line":38},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1741156556.40478,"duration":0.00035999999999999997,"duration_str":"360\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodscan","explain":null,"start_percent":18.024,"width_percent":6.239},{"sql":"select count(*) as aggregate from `orders` where (`order_type` like '%20%' and `source` != '15') and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["%20%","15",1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/OrderService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/OrderService.php","line":104},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/TableOrderController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/TableOrderController.php","line":38},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1741156556.4056752,"duration":0.0003,"duration_str":"300\u03bcs","memory":0,"memory_str":null,"filename":"OrderService.php:104","source":{"index":15,"namespace":null,"name":"app\/Services\/OrderService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/OrderService.php","line":104},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FServices%2FOrderService.php&line=104","ajax":false,"filename":"OrderService.php","line":"104"},"connection":"foodscan","explain":null,"start_percent":24.263,"width_percent":5.199},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/OrderService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/OrderService.php","line":104},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/TableOrderController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/TableOrderController.php","line":38},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1741156556.406468,"duration":0.00035,"duration_str":"350\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodscan","explain":null,"start_percent":29.463,"width_percent":6.066},{"sql":"select * from `orders` where (`order_type` like '%20%' and `source` != '15') and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0) order by `id` desc limit 10 offset 0","type":"query","params":[],"bindings":["%20%","15",1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/OrderService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/OrderService.php","line":104},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/TableOrderController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/TableOrderController.php","line":38},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1741156556.4072201,"duration":0.00027,"duration_str":"270\u03bcs","memory":0,"memory_str":null,"filename":"OrderService.php:104","source":{"index":15,"namespace":null,"name":"app\/Services\/OrderService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/OrderService.php","line":104},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FServices%2FOrderService.php&line=104","ajax":false,"filename":"OrderService.php","line":"104"},"connection":"foodscan","explain":null,"start_percent":35.529,"width_percent":4.679},{"sql":"select * from `transactions` where `transactions`.`order_id` in (6, 7)","type":"query","params":[],"bindings":[],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"app\/Services\/OrderService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/OrderService.php","line":104},{"index":21,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/TableOrderController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/TableOrderController.php","line":38},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1741156556.4081569,"duration":0.00020999999999999998,"duration_str":"210\u03bcs","memory":0,"memory_str":null,"filename":"OrderService.php:104","source":{"index":20,"namespace":null,"name":"app\/Services\/OrderService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/OrderService.php","line":104},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FServices%2FOrderService.php&line=104","ajax":false,"filename":"OrderService.php","line":"104"},"connection":"foodscan","explain":null,"start_percent":40.208,"width_percent":3.64},{"sql":"select * from `order_items` where `order_items`.`order_id` in (6, 7)","type":"query","params":[],"bindings":[],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"app\/Services\/OrderService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/OrderService.php","line":104},{"index":21,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/TableOrderController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/TableOrderController.php","line":38},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1741156556.408724,"duration":0.00017999999999999998,"duration_str":"180\u03bcs","memory":0,"memory_str":null,"filename":"OrderService.php:104","source":{"index":20,"namespace":null,"name":"app\/Services\/OrderService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/OrderService.php","line":104},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FServices%2FOrderService.php&line=104","ajax":false,"filename":"OrderService.php","line":"104"},"connection":"foodscan","explain":null,"start_percent":43.847,"width_percent":3.12},{"sql":"select * from `branches` where `branches`.`id` in (1)","type":"query","params":[],"bindings":[],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"app\/Services\/OrderService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/OrderService.php","line":104},{"index":21,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/TableOrderController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/TableOrderController.php","line":38},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1741156556.409504,"duration":0.00034,"duration_str":"340\u03bcs","memory":0,"memory_str":null,"filename":"OrderService.php:104","source":{"index":20,"namespace":null,"name":"app\/Services\/OrderService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/OrderService.php","line":104},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FServices%2FOrderService.php&line=104","ajax":false,"filename":"OrderService.php","line":"104"},"connection":"foodscan","explain":null,"start_percent":46.967,"width_percent":5.893},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":27,"namespace":null,"name":"app\/Services\/OrderService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/OrderService.php","line":104},{"index":28,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/TableOrderController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/TableOrderController.php","line":38},{"index":29,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1741156556.410425,"duration":0.00037,"duration_str":"370\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodscan","explain":null,"start_percent":52.86,"width_percent":6.412},{"sql":"select * from `users` where `users`.`id` in (2) and (`users`.`branch_id` = 1 or `users`.`branch_id` = 0)","type":"query","params":[],"bindings":[1,0],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"app\/Services\/OrderService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/OrderService.php","line":104},{"index":21,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/TableOrderController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/TableOrderController.php","line":38},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1741156556.411007,"duration":0.00051,"duration_str":"510\u03bcs","memory":0,"memory_str":null,"filename":"OrderService.php:104","source":{"index":20,"namespace":null,"name":"app\/Services\/OrderService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/OrderService.php","line":104},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FServices%2FOrderService.php&line=104","ajax":false,"filename":"OrderService.php","line":"104"},"connection":"foodscan","explain":null,"start_percent":59.272,"width_percent":8.839},{"sql":"select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (2) and `model_has_roles`.`model_type` = 'App\\Models\\User'","type":"query","params":[],"bindings":["App\\Models\\User"],"hints":null,"show_copy":true,"backtrace":[{"index":18,"namespace":null,"name":"app\/Http\/Resources\/OrderResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Resources\/OrderResource.php","line":39},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","line":101},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/JsonResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/JsonResource.php","line":94},{"index":26,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/PaginatedResourceResponse.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/PaginatedResourceResponse.php","line":19},{"index":27,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","line":133}],"start":1741156556.412803,"duration":0.00055,"duration_str":"550\u03bcs","memory":0,"memory_str":null,"filename":"OrderResource.php:39","source":{"index":18,"namespace":null,"name":"app\/Http\/Resources\/OrderResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Resources\/OrderResource.php","line":39},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FHttp%2FResources%2FOrderResource.php&line=39","ajax":false,"filename":"OrderResource.php","line":"39"},"connection":"foodscan","explain":null,"start_percent":68.111,"width_percent":9.532},{"sql":"select * from `media` where `media`.`model_id` in (2) and `media`.`model_type` = 'App\\Models\\User'","type":"query","params":[],"bindings":["App\\Models\\User"],"hints":null,"show_copy":true,"backtrace":[{"index":19,"namespace":null,"name":"app\/Http\/Resources\/OrderResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Resources\/OrderResource.php","line":39},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","line":101},{"index":26,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/JsonResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/JsonResource.php","line":94},{"index":27,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/PaginatedResourceResponse.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/PaginatedResourceResponse.php","line":19},{"index":28,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","line":133}],"start":1741156556.413767,"duration":0.00019,"duration_str":"190\u03bcs","memory":0,"memory_str":null,"filename":"OrderResource.php:39","source":{"index":19,"namespace":null,"name":"app\/Http\/Resources\/OrderResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Resources\/OrderResource.php","line":39},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FHttp%2FResources%2FOrderResource.php&line=39","ajax":false,"filename":"OrderResource.php","line":"39"},"connection":"foodscan","explain":null,"start_percent":77.643,"width_percent":3.293},{"sql":"select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (2) and `model_has_roles`.`model_type` = 'App\\Models\\User'","type":"query","params":[],"bindings":["App\\Models\\User"],"hints":null,"show_copy":true,"backtrace":[{"index":18,"namespace":null,"name":"app\/Http\/Resources\/OrderResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Resources\/OrderResource.php","line":39},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","line":101},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/JsonResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/JsonResource.php","line":94},{"index":26,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/PaginatedResourceResponse.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/PaginatedResourceResponse.php","line":19},{"index":27,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","line":133}],"start":1741156556.4144459,"duration":0.00035999999999999997,"duration_str":"360\u03bcs","memory":0,"memory_str":null,"filename":"OrderResource.php:39","source":{"index":18,"namespace":null,"name":"app\/Http\/Resources\/OrderResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Resources\/OrderResource.php","line":39},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FHttp%2FResources%2FOrderResource.php&line=39","ajax":false,"filename":"OrderResource.php","line":"39"},"connection":"foodscan","explain":null,"start_percent":80.936,"width_percent":6.239},{"sql":"select * from `media` where `media`.`model_id` in (2) and `media`.`model_type` = 'App\\Models\\User'","type":"query","params":[],"bindings":["App\\Models\\User"],"hints":null,"show_copy":true,"backtrace":[{"index":19,"namespace":null,"name":"app\/Http\/Resources\/OrderResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Resources\/OrderResource.php","line":39},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","line":101},{"index":26,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/JsonResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/JsonResource.php","line":94},{"index":27,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/PaginatedResourceResponse.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/PaginatedResourceResponse.php","line":19},{"index":28,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","line":133}],"start":1741156556.415201,"duration":0.00032,"duration_str":"320\u03bcs","memory":0,"memory_str":null,"filename":"OrderResource.php:39","source":{"index":19,"namespace":null,"name":"app\/Http\/Resources\/OrderResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Resources\/OrderResource.php","line":39},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FHttp%2FResources%2FOrderResource.php&line=39","ajax":false,"filename":"OrderResource.php","line":"39"},"connection":"foodscan","explain":null,"start_percent":87.175,"width_percent":5.546},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":26,"namespace":null,"name":"app\/Http\/Resources\/OrderResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Resources\/OrderResource.php","line":40},{"index":32,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","line":101},{"index":33,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/JsonResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/JsonResource.php","line":94}],"start":1741156556.4158819,"duration":0.0002,"duration_str":"200\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodscan","explain":null,"start_percent":92.721,"width_percent":3.466},{"sql":"select * from `orders` where `orders`.`id` in (6) and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":[1,0],"hints":null,"show_copy":true,"backtrace":[{"index":19,"namespace":null,"name":"app\/Http\/Resources\/OrderResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Resources\/OrderResource.php","line":40},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","line":101},{"index":26,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/JsonResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/JsonResource.php","line":94},{"index":27,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/PaginatedResourceResponse.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/PaginatedResourceResponse.php","line":19},{"index":28,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/laravel\/framework\/src\/Illuminate\/Http\/Resources\/Json\/ResourceCollection.php","line":133}],"start":1741156556.416668,"duration":0.00022,"duration_str":"220\u03bcs","memory":0,"memory_str":null,"filename":"OrderResource.php:40","source":{"index":19,"namespace":null,"name":"app\/Http\/Resources\/OrderResource.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Resources\/OrderResource.php","line":40},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FHttp%2FResources%2FOrderResource.php&line=40","ajax":false,"filename":"OrderResource.php","line":"40"},"connection":"foodscan","explain":null,"start_percent":96.187,"width_percent":3.813}]},"models":{"data":{"App\\Models\\DefaultAccess":{"value":4,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FModels%2FDefaultAccess.php&line=1","ajax":false,"filename":"DefaultAccess.php","line":"?"}},"Spatie\\Permission\\Models\\Role":{"value":3,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FModels%2FRole.php&line=1","ajax":false,"filename":"Role.php","line":"?"}},"App\\Models\\Order":{"value":3,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FModels%2FOrder.php&line=1","ajax":false,"filename":"Order.php","line":"?"}},"App\\Models\\OrderItem":{"value":2,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FModels%2FOrderItem.php&line=1","ajax":false,"filename":"OrderItem.php","line":"?"}},"App\\Models\\Transaction":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FModels%2FTransaction.php&line=1","ajax":false,"filename":"Transaction.php","line":"?"}},"App\\Models\\Branch":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FModels%2FBranch.php&line=1","ajax":false,"filename":"Branch.php","line":"?"}},"App\\Models\\User":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FModels%2FUser.php&line=1","ajax":false,"filename":"User.php","line":"?"}}},"count":15,"is_counter":true},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":1,"messages":[{"message":"[\n ability => table-orders,\n target => null,\n result => true,\n user => 1,\n arguments => []\n]","message_html":"<pre class=sf-dump id=sf-dump-1216421750 data-indent-pad=\" \"><span class=sf-dump-note>table-orders <\/span> [<samp data-depth=1 class=sf-dump-compact>\n \"<span class=sf-dump-key>ability<\/span>\" => \"<span class=sf-dump-str title=\"12 characters\">table-orders<\/span>\"\n \"<span class=sf-dump-key>target<\/span>\" => <span class=sf-dump-const>null<\/span>\n \"<span class=sf-dump-key>result<\/span>\" => <span class=sf-dump-const>true<\/span>\n \"<span class=sf-dump-key>user<\/span>\" => <span class=sf-dump-num>1<\/span>\n \"<span class=sf-dump-key>arguments<\/span>\" => \"<span class=sf-dump-str title=\"2 characters\">[]<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1216421750\", {\"maxDepth\":0})<\/script>\n","is_string":false,"label":"success","time":1741156556.403838,"xdebug_link":null}]},"session":[],"request":{"path_info":"\/api\/admin\/table-order","status_code":"<pre class=sf-dump id=sf-dump-1034466834 data-indent-pad=\" \"><span class=sf-dump-num>200<\/span>\n<\/pre><script>Sfdump(\"sf-dump-1034466834\", {\"maxDepth\":0})<\/script>\n","status_text":"OK","format":"html","content_type":"application\/json","request_query":"<pre class=sf-dump id=sf-dump-543280862 data-indent-pad=\" \"><span class=sf-dump-note>array:7<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n \"<span class=sf-dump-key>paginate<\/span>\" => \"<span class=sf-dump-str>1<\/span>\"\n \"<span class=sf-dump-key>page<\/span>\" => \"<span class=sf-dump-str>1<\/span>\"\n \"<span class=sf-dump-key>per_page<\/span>\" => \"<span class=sf-dump-str title=\"2 characters\">10<\/span>\"\n \"<span class=sf-dump-key>order_column<\/span>\" => \"<span class=sf-dump-str title=\"2 characters\">id<\/span>\"\n \"<span class=sf-dump-key>order_by<\/span>\" => \"<span class=sf-dump-str title=\"4 characters\">desc<\/span>\"\n \"<span class=sf-dump-key>order_type<\/span>\" => \"<span class=sf-dump-str title=\"2 characters\">20<\/span>\"\n \"<span class=sf-dump-key>exceptSource<\/span>\" => \"<span class=sf-dump-str title=\"2 characters\">15<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-543280862\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-1131165693 data-indent-pad=\" \">[]\n<\/pre><script>Sfdump(\"sf-dump-1131165693\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-2101208170 data-indent-pad=\" \"><span class=sf-dump-note>array:18<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n \"<span class=sf-dump-key>cookie<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"780 characters\">XSRF-TOKEN=eyJpdiI6IjdDcDN1cUhXcFVrY01ZaUNMTkkzRkE9PSIsInZhbHVlIjoicytadDdYeGl2WWY2YzlwVkN5c3B5Q0pRYzZHcnQzdjU2L3p0aWtrcnc4Nnk5QTJTQi8vaDB5dU5YMEdzYUd2eDJMVEdBR3hybFBXMllDQVJ1cDRGRytQV3Z5bWY3RnVCYXFtSVl5V3F0bUkwaEkxWjMvQklOdVU1anR3bkhBTXkiLCJtYWMiOiI3ZDU3ZTIxM2Y1ODFkZDE2NzQ5YWRkNmY3NWRiMDcyNzlkYzBmZjdlMTk3YTI3ZTM5YjAyMmVlMGQ1MzI2MjQ3IiwidGFnIjoiIn0%3D; foodscan_qrcode_restaurant_menu_maker_and_contactless_menu_ordering_system_session=eyJpdiI6Ilpock9oTGFSSFJuMlpkWkh6eTRDVXc9PSIsInZhbHVlIjoieVYyWDM5Y0lGbEIrKzE1UjZKYzI0QXJPZmhmbDhtSEZETWFzUUlaUlAyaHNxbEdsWGZkdnpweER4Nzl0K204UDd1cXpKN1hEald2RVM5cUtod1Niakg2UWpGeUxUMVFYM3JJYktLMEIyR2NtMWs5K2FVMDBsUHVpWHljNGd3MlciLCJtYWMiOiI3MjMzYTFjZjI5MWE4NWNiOTVmYmI2NDdhOTVjNTIwN2VkYzhlNzE1YzJmYmJmNmI3NGU5NjUzNTZmOGJmYzU1IiwidGFnIjoiIn0%3D<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>priority<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"6 characters\">u=1, i<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>accept-language<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"14 characters\">en-US,en;q=0.9<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>accept-encoding<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"23 characters\">gzip, deflate, br, zstd<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>referer<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"40 characters\">https:\/\/foodscan.test\/admin\/table-orders<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>sec-fetch-dest<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"5 characters\">empty<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>sec-fetch-mode<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"4 characters\">cors<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>sec-fetch-site<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"11 characters\">same-origin<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>accept<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>user-agent<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"117 characters\">Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/133.0.0.0 Safari\/537.36<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>sec-ch-ua-mobile<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"2 characters\">?0<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>x-api-key<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"38 characters\">b6d68vy2-m7g5-20r0-5275-h103w73453q120<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>x-localization<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"2 characters\">en<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>sec-ch-ua<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"65 characters\">"Not(A:Brand";v="99", "Google Chrome";v="133", "Chromium";v="133"<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>x-xsrf-token<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"340 characters\">eyJpdiI6IjdDcDN1cUhXcFVrY01ZaUNMTkkzRkE9PSIsInZhbHVlIjoicytadDdYeGl2WWY2YzlwVkN5c3B5Q0pRYzZHcnQzdjU2L3p0aWtrcnc4Nnk5QTJTQi8vaDB5dU5YMEdzYUd2eDJMVEdBR3hybFBXMllDQVJ1cDRGRytQV3Z5bWY3RnVCYXFtSVl5V3F0bUkwaEkxWjMvQklOdVU1anR3bkhBTXkiLCJtYWMiOiI3ZDU3ZTIxM2Y1ODFkZDE2NzQ5YWRkNmY3NWRiMDcyNzlkYzBmZjdlMTk3YTI3ZTM5YjAyMmVlMGQ1MzI2MjQ3IiwidGFnIjoiIn0=<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>authorization<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"18 characters\">Bearer 1|Zml******<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>sec-ch-ua-platform<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"7 characters\">"macOS"<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>host<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"13 characters\">foodscan.test<\/span>\"\n <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-2101208170\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-942697101 data-indent-pad=\" \"><span class=sf-dump-note>array:2<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n \"<span class=sf-dump-key>XSRF-TOKEN<\/span>\" => \"<span class=sf-dump-str title=\"340 characters\">eyJpdiI6IjdDcDN1cUhXcFVrY01ZaUNMTkkzRkE9PSIsInZhbHVlIjoicytadDdYeGl2WWY2YzlwVkN5c3B5Q0pRYzZHcnQzdjU2L3p0aWtrcnc4Nnk5QTJTQi8vaDB5dU5YMEdzYUd2eDJMVEdBR3hybFBXMllDQVJ1cDRGRytQV3Z5bWY3RnVCYXFtSVl5V3F0bUkwaEkxWjMvQklOdVU1anR3bkhBTXkiLCJtYWMiOiI3ZDU3ZTIxM2Y1ODFkZDE2NzQ5YWRkNmY3NWRiMDcyNzlkYzBmZjdlMTk3YTI3ZTM5YjAyMmVlMGQ1MzI2MjQ3IiwidGFnIjoiIn0=<\/span>\"\n \"<span class=sf-dump-key>foodscan_qrcode_restaurant_menu_maker_and_contactless_menu_ordering_system_session<\/span>\" => \"<span class=sf-dump-str title=\"340 characters\">eyJpdiI6Ilpock9oTGFSSFJuMlpkWkh6eTRDVXc9PSIsInZhbHVlIjoieVYyWDM5Y0lGbEIrKzE1UjZKYzI0QXJPZmhmbDhtSEZETWFzUUlaUlAyaHNxbEdsWGZkdnpweER4Nzl0K204UDd1cXpKN1hEald2RVM5cUtod1Niakg2UWpGeUxUMVFYM3JJYktLMEIyR2NtMWs5K2FVMDBsUHVpWHljNGd3MlciLCJtYWMiOiI3MjMzYTFjZjI5MWE4NWNiOTVmYmI2NDdhOTVjNTIwN2VkYzhlNzE1YzJmYmJmNmI3NGU5NjUzNTZmOGJmYzU1IiwidGFnIjoiIn0=<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-942697101\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-714109760 data-indent-pad=\" \"><span class=sf-dump-note>array:5<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n \"<span class=sf-dump-key>cache-control<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"17 characters\">no-cache, private<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>date<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"29 characters\">Wed, 05 Mar 2025 06:35:56 GMT<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>content-type<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>x-ratelimit-limit<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"3 characters\">120<\/span>\"\n <\/samp>]\n \"<span class=sf-dump-key>x-ratelimit-remaining<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"3 characters\">119<\/span>\"\n <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-714109760\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-111584825 data-indent-pad=\" \">[]\n<\/pre><script>Sfdump(\"sf-dump-111584825\", {\"maxDepth\":0})<\/script>\n"}}
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.88 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002