[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: X93ebfb199fd483b895387061bafb6c18.json
{"__meta":{"id":"X93ebfb199fd483b895387061bafb6c18","datetime":"2025-03-05 12:44:17","utime":1741157057.825874,"method":"GET","uri":"\/api\/admin\/chef?paginate=1&page=1&per_page=10&order_column=id&order_type=desc","ip":"127.0.0.1"},"php":{"version":"8.2.27","interface":"fpm-fcgi"},"messages":{"count":0,"messages":[]},"time":{"start":1741157057.804762,"end":1741157057.825899,"duration":0.021136999130249023,"duration_str":"21.14ms","measures":[{"label":"Booting","start":1741157057.804762,"relative_start":0,"end":1741157057.812692,"relative_end":1741157057.812692,"duration":0.00793004035949707,"duration_str":"7.93ms","memory":0,"memory_str":"0B","params":[],"collector":"time"},{"label":"Application","start":1741157057.812698,"relative_start":0.00793600082397461,"end":1741157057.825901,"relative_end":2.1457672119140625e-6,"duration":0.013203144073486328,"duration_str":"13.2ms","memory":0,"memory_str":"0B","params":[],"collector":"time"}]},"memory":{"peak_usage":2673040,"peak_usage_str":"3MB"},"exceptions":{"count":0,"exceptions":[]},"views":{"nb_templates":0,"templates":[]},"route":{"uri":"GET api\/admin\/chef","middleware":"api, installed, apiKey, auth:sanctum, localization, permission:chefs","controller":"App\\Http\\Controllers\\Admin\\ChefController@index","as":"admin.chef.","namespace":null,"prefix":"api\/admin\/chef","where":[],"file":"<a href=\"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FHttp%2FControllers%2FAdmin%2FChefController.php&line=40\" onclick=\"\">app\/Http\/Controllers\/Admin\/ChefController.php:40-47<\/a>"},"queries":{"nb_statements":10,"nb_visible_statements":10,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.00507,"accumulated_duration_str":"5.07ms","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":1741157057.814938,"duration":0.00068,"duration_str":"680\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":13.412},{"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":1741157057.8159719,"duration":0.00041999999999999996,"duration_str":"420\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":13.412,"width_percent":8.284},{"sql":"select * from `roles` where `id` = 4 and `guard_name` = 'sanctum' limit 1","type":"query","params":[],"bindings":[4,"sanctum"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Models\/Role.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/spatie\/laravel-permission\/src\/Models\/Role.php","line":165},{"index":16,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Models\/Role.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/spatie\/laravel-permission\/src\/Models\/Role.php","line":121},{"index":17,"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":86},{"index":25,"namespace":null,"name":"app\/Services\/ChefService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/ChefService.php","line":39},{"index":26,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/ChefController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/ChefController.php","line":43}],"start":1741157057.817134,"duration":0.00088,"duration_str":"880\u03bcs","memory":0,"memory_str":null,"filename":"Role.php:165","source":{"index":15,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Models\/Role.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/vendor\/spatie\/laravel-permission\/src\/Models\/Role.php","line":165},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FModels%2FRole.php&line=165","ajax":false,"filename":"Role.php","line":"165"},"connection":"foodscan","explain":null,"start_percent":21.696,"width_percent":17.357},{"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\/ChefService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/ChefService.php","line":45},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/ChefController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/ChefController.php","line":43},{"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":1741157057.818837,"duration":0.00039,"duration_str":"390\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":39.053,"width_percent":7.692},{"sql":"select count(*) as aggregate from `users` where exists (select * from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `users`.`id` = `model_has_roles`.`model_id` and `model_has_roles`.`model_type` = 'App\\Models\\User' and `roles`.`id` in (4)) and `users`.`deleted_at` is null and (`users`.`branch_id` = 1 or `users`.`branch_id` = 0)","type":"query","params":[],"bindings":["App\\Models\\User",4,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/ChefService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/ChefService.php","line":45},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/ChefController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/ChefController.php","line":43},{"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":1741157057.819688,"duration":0.00046,"duration_str":"460\u03bcs","memory":0,"memory_str":null,"filename":"ChefService.php:45","source":{"index":15,"namespace":null,"name":"app\/Services\/ChefService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/ChefService.php","line":45},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FServices%2FChefService.php&line=45","ajax":false,"filename":"ChefService.php","line":"45"},"connection":"foodscan","explain":null,"start_percent":46.746,"width_percent":9.073},{"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\/ChefService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/ChefService.php","line":45},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/ChefController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/ChefController.php","line":43},{"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":1741157057.8214939,"duration":0.0007199999999999999,"duration_str":"720\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":55.819,"width_percent":14.201},{"sql":"select * from `users` where exists (select * from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `users`.`id` = `model_has_roles`.`model_id` and `model_has_roles`.`model_type` = 'App\\Models\\User' and `roles`.`id` in (4)) and `users`.`deleted_at` is null and (`users`.`branch_id` = 1 or `users`.`branch_id` = 0) order by `id` desc limit 10 offset 0","type":"query","params":[],"bindings":["App\\Models\\User",4,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/ChefService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/ChefService.php","line":45},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/ChefController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/ChefController.php","line":43},{"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":1741157057.8226402,"duration":0.0008100000000000001,"duration_str":"810\u03bcs","memory":0,"memory_str":null,"filename":"ChefService.php:45","source":{"index":15,"namespace":null,"name":"app\/Services\/ChefService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/ChefService.php","line":45},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FServices%2FChefService.php&line=45","ajax":false,"filename":"ChefService.php","line":"45"},"connection":"foodscan","explain":null,"start_percent":70.02,"width_percent":15.976},{"sql":"select * from `media` where `media`.`model_id` in (11, 12) and `media`.`model_type` = 'App\\Models\\User'","type":"query","params":[],"bindings":["App\\Models\\User"],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"app\/Services\/ChefService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/ChefService.php","line":45},{"index":21,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/ChefController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/ChefController.php","line":43},{"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":1741157057.8237278,"duration":0.00026000000000000003,"duration_str":"260\u03bcs","memory":0,"memory_str":null,"filename":"ChefService.php:45","source":{"index":20,"namespace":null,"name":"app\/Services\/ChefService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/ChefService.php","line":45},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FServices%2FChefService.php&line=45","ajax":false,"filename":"ChefService.php","line":"45"},"connection":"foodscan","explain":null,"start_percent":85.996,"width_percent":5.128},{"sql":"select * from `addresses` where `addresses`.`user_id` in (11, 12)","type":"query","params":[],"bindings":[],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"app\/Services\/ChefService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/ChefService.php","line":45},{"index":21,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/ChefController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/ChefController.php","line":43},{"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":1741157057.824307,"duration":0.00025,"duration_str":"250\u03bcs","memory":0,"memory_str":null,"filename":"ChefService.php:45","source":{"index":20,"namespace":null,"name":"app\/Services\/ChefService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/ChefService.php","line":45},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FServices%2FChefService.php&line=45","ajax":false,"filename":"ChefService.php","line":"45"},"connection":"foodscan","explain":null,"start_percent":91.124,"width_percent":4.931},{"sql":"select * from `message_histories` where `is_read` = 10 and `message_histories`.`user_id` in (11, 12)","type":"query","params":[],"bindings":[10],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"app\/Services\/ChefService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/ChefService.php","line":45},{"index":21,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/ChefController.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Http\/Controllers\/Admin\/ChefController.php","line":43},{"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":1741157057.8248029,"duration":0.0002,"duration_str":"200\u03bcs","memory":0,"memory_str":null,"filename":"ChefService.php:45","source":{"index":20,"namespace":null,"name":"app\/Services\/ChefService.php","file":"\/Users\/mahbub\/workspace\/8.2\/foodscan\/app\/Services\/ChefService.php","line":45},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FServices%2FChefService.php&line=45","ajax":false,"filename":"ChefService.php","line":"45"},"connection":"foodscan","explain":null,"start_percent":96.055,"width_percent":3.945}]},"models":{"data":{"Spatie\\Permission\\Models\\Role":{"value":2,"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\\DefaultAccess":{"value":2,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FModels%2FDefaultAccess.php&line=1","ajax":false,"filename":"DefaultAccess.php","line":"?"}},"App\\Models\\User":{"value":2,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FModels%2FUser.php&line=1","ajax":false,"filename":"User.php","line":"?"}},"App\\Models\\Address":{"value":2,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2FUsers%2Fmahbub%2Fworkspace%2F8.2%2Ffoodscan%2Fapp%2FModels%2FAddress.php&line=1","ajax":false,"filename":"Address.php","line":"?"}}},"count":8,"is_counter":true},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":1,"messages":[{"message":"[ability => chefs, target => null, result => true, user => 1, arguments => []]","message_html":"<pre class=sf-dump id=sf-dump-604734477 data-indent-pad=\" \"><span class=sf-dump-note>chefs <\/span> [<samp data-depth=1 class=sf-dump-compact>\n \"<span class=sf-dump-key>ability<\/span>\" => \"<span class=sf-dump-str title=\"5 characters\">chefs<\/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-604734477\", {\"maxDepth\":0})<\/script>\n","is_string":false,"label":"success","time":1741157057.816729,"xdebug_link":null}]},"session":[],"request":{"path_info":"\/api\/admin\/chef","status_code":"<pre class=sf-dump id=sf-dump-2047634837 data-indent-pad=\" \"><span class=sf-dump-num>200<\/span>\n<\/pre><script>Sfdump(\"sf-dump-2047634837\", {\"maxDepth\":0})<\/script>\n","status_text":"OK","format":"html","content_type":"application\/json","request_query":"<pre class=sf-dump id=sf-dump-1480357980 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>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_type<\/span>\" => \"<span class=sf-dump-str title=\"4 characters\">desc<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1480357980\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-406748841 data-indent-pad=\" \">[]\n<\/pre><script>Sfdump(\"sf-dump-406748841\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-1209900924 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=eyJpdiI6Ijh4cDNTS0RwY0IvUjVjN0JIM2x5MUE9PSIsInZhbHVlIjoiVWFZQ1pFejk5OFhBMDUyemI1dm5UZUJXY3VXNlZQM3o1MFVBaW9oZ05Ja3U3YVM5NjQ2NVNNaDdaWjgzSGRBQzIySE9VMjZkSGNrV3pxWFNSUkdTNXZYYitSSGNXcGxONGpCZ3krWWZ4dGlnQ3ZSRm1vS2NBVkpWL3FvMzB2WjQiLCJtYWMiOiI2NzcyNzdhMTE3MWMzZTZkYmY2MDg0MzI1MmU4ZDhlYzM1NzljOWJkYzRmNWFlZWM2YjRmODA5MjUyYThlMjFiIiwidGFnIjoiIn0%3D; foodscan_qrcode_restaurant_menu_maker_and_contactless_menu_ordering_system_session=eyJpdiI6Im9Pa2t2cm1zNHlzbFA1d0xDUXpEbEE9PSIsInZhbHVlIjoiN1laMTlHQ1Zjbkttc0IyMXNHN1U4b3pTS1o2SVB1RDdwamNUM1Z3YjVGQmxKN3Vick1ZbStYcS8zN2dLb3M5dlhyNzc3Z0pYbG00UFFRelVXTGVyOGJBWVRSb1FkUjUzaENXQU1CbU8yeWw0VXE1bllXN3ljNmdYbWNDdTlSV0YiLCJtYWMiOiJkZGMwYWIzZDA1N2Y0MGY3ZjQ5M2FjZTYxZGRkNmU0MzMwMTk1OTM5Njg4NmJlYTVkMGJkZmQwZmZmNWM0Y2ZlIiwidGFnIjoiIn0%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=\"33 characters\">https:\/\/foodscan.test\/admin\/chefs<\/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\">eyJpdiI6Ijh4cDNTS0RwY0IvUjVjN0JIM2x5MUE9PSIsInZhbHVlIjoiVWFZQ1pFejk5OFhBMDUyemI1dm5UZUJXY3VXNlZQM3o1MFVBaW9oZ05Ja3U3YVM5NjQ2NVNNaDdaWjgzSGRBQzIySE9VMjZkSGNrV3pxWFNSUkdTNXZYYitSSGNXcGxONGpCZ3krWWZ4dGlnQ3ZSRm1vS2NBVkpWL3FvMzB2WjQiLCJtYWMiOiI2NzcyNzdhMTE3MWMzZTZkYmY2MDg0MzI1MmU4ZDhlYzM1NzljOWJkYzRmNWFlZWM2YjRmODA5MjUyYThlMjFiIiwidGFnIjoiIn0=<\/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 2|wwc******<\/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-1209900924\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-115322501 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\">eyJpdiI6Ijh4cDNTS0RwY0IvUjVjN0JIM2x5MUE9PSIsInZhbHVlIjoiVWFZQ1pFejk5OFhBMDUyemI1dm5UZUJXY3VXNlZQM3o1MFVBaW9oZ05Ja3U3YVM5NjQ2NVNNaDdaWjgzSGRBQzIySE9VMjZkSGNrV3pxWFNSUkdTNXZYYitSSGNXcGxONGpCZ3krWWZ4dGlnQ3ZSRm1vS2NBVkpWL3FvMzB2WjQiLCJtYWMiOiI2NzcyNzdhMTE3MWMzZTZkYmY2MDg0MzI1MmU4ZDhlYzM1NzljOWJkYzRmNWFlZWM2YjRmODA5MjUyYThlMjFiIiwidGFnIjoiIn0=<\/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\">eyJpdiI6Im9Pa2t2cm1zNHlzbFA1d0xDUXpEbEE9PSIsInZhbHVlIjoiN1laMTlHQ1Zjbkttc0IyMXNHN1U4b3pTS1o2SVB1RDdwamNUM1Z3YjVGQmxKN3Vick1ZbStYcS8zN2dLb3M5dlhyNzc3Z0pYbG00UFFRelVXTGVyOGJBWVRSb1FkUjUzaENXQU1CbU8yeWw0VXE1bllXN3ljNmdYbWNDdTlSV0YiLCJtYWMiOiJkZGMwYWIzZDA1N2Y0MGY3ZjQ5M2FjZTYxZGRkNmU0MzMwMTk1OTM5Njg4NmJlYTVkMGJkZmQwZmZmNWM0Y2ZlIiwidGFnIjoiIn0=<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-115322501\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-413630351 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:44:17 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\">118<\/span>\"\n <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-413630351\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-384716094 data-indent-pad=\" \">[]\n<\/pre><script>Sfdump(\"sf-dump-384716094\", {\"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