{"__meta":{"id":"01M0SCBF7YPYSA4BTC8EMZZV1M","datetime":"2026-08-24 13:26:54","utime":1787558214.911022,"method":"GET","uri":"\/school\/chanakaya-international-school\/student\/dashboard","ip":"127.0.0.1"},"request":{"data":{"uri":"GET school\/{slug}\/student\/dashboard","middleware":["web","student.auth"],"controller":{"value":"App\\Http\\Controllers\\Student\\StudentController@index","xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStudent%2FStudentController.php&line=13","ajax":false,"filename":"StudentController.php","line":"13","path":"\\app\\Http\\Controllers\\Student\\StudentController.php"}},"prefix":"school\/{slug}\/student","file":{"value":"app\/Http\/Controllers\/Student\/StudentController.php:13-245","xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStudent%2FStudentController.php&line=13","ajax":false,"filename":"StudentController.php","line":"13","path":"\\app\\Http\\Controllers\\Student\\StudentController.php"}},"method":"GET","format":"html","content_type":"text\/html; charset=utf-8","status_text":"OK","status_code":200,"request_query":[],"request_request":[],"request_files":[],"request_headers":{"host":["127.0.0.1:8000"],"connection":["keep-alive"],"sec-ch-ua":["\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\""],"sec-ch-ua-mobile":["?0"],"sec-ch-ua-platform":["\"Windows\""],"upgrade-insecure-requests":["1"],"user-agent":["Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/151.0.0.0 Safari\/537.36 Edg\/151.0.0.0"],"accept":["text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3;q=0.7"],"sec-fetch-site":["same-origin"],"sec-fetch-mode":["navigate"],"sec-fetch-user":["?1"],"sec-fetch-dest":["document"],"referer":["http:\/\/127.0.0.1:8000\/school\/chanakaya-international-school\/student\/applications"],"accept-encoding":["gzip, deflate, br, zstd"],"accept-language":["en-US,en;q=0.9"],"cookie":["XSRF-TOKEN=eyJpdiI6IkphKzd1N0NuQ2lNOTdXY0NqM1FjZ1E9PSIsInZhbHVlIjoiNVN0NityVFlHekc4RFBybXdrL0Vxam90Y0luUHcyc09OV2hhMWVQT2FYcjFCNWUyd2NNSVQ5SjJvN2djd292cXFvTUZsRE9pZUpaejVNVWNEQnBia0lSSU1HOThDNmpoeTBoRzFhQkxHam1hbWd3RTB0aytyaHV4blNpTDZqSGsiLCJtYWMiOiIzMDhjMDc4NmMyNjA4NzQ2MjExOWM0MzFmZTdlMjI2YmJjYjY4Njk0ZjdmMTQ4YmI0ZmM2NmVmZmUwY2UwMWYzIiwidGFnIjoiIn0%3D; laravel-session=eyJpdiI6Ik5DTjVPV2VpR09Yejh4OWZtc01CN0E9PSIsInZhbHVlIjoibVliWm5ZTytNUTFPNDRUZkRZTFlINzk1Rm5lY25RNmUrL2dLaTJCR0dwbjJKL3VtUXU5Y09DdlBKTSt4NUxnQy9OQktGaDhkN0RNdFRNQW1LazFhSXNYcXpuUHFxSTE5Q1dLVWRnaDhtSmlTaTNwTENNSHNEa1MzMUVKVFFpT1AiLCJtYWMiOiJjNmVhZWEyZWM5NjJiZWY2MzZhMGZmMTdhMjc3MDQ4ODc4YjEwY2Q1ZDQ5OGY1NGRiNjgxYzlkNDA5NDhmYWJkIiwidGFnIjoiIn0%3D"]},"request_server":{"DOCUMENT_ROOT":"C:\\xampp\\htdocs\\school-erp\\public","REMOTE_ADDR":"127.0.0.1","REMOTE_PORT":"54525","SERVER_SOFTWARE":"PHP 8.2.12 Development Server","SERVER_PROTOCOL":"HTTP\/1.1","SERVER_NAME":"127.0.0.1","SERVER_PORT":"8000","REQUEST_URI":"\/school\/chanakaya-international-school\/student\/dashboard","REQUEST_METHOD":"GET","SCRIPT_NAME":"\/index.php","SCRIPT_FILENAME":"C:\\xampp\\htdocs\\school-erp\\public\\index.php","PATH_INFO":"\/school\/chanakaya-international-school\/student\/dashboard","PHP_SELF":"\/index.php\/school\/chanakaya-international-school\/student\/dashboard","HTTP_HOST":"127.0.0.1:8000","HTTP_CONNECTION":"keep-alive","HTTP_SEC_CH_UA":"\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"","HTTP_SEC_CH_UA_MOBILE":"?0","HTTP_SEC_CH_UA_PLATFORM":"\"Windows\"","HTTP_UPGRADE_INSECURE_REQUESTS":"1","HTTP_USER_AGENT":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/151.0.0.0 Safari\/537.36 Edg\/151.0.0.0","HTTP_ACCEPT":"text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3;q=0.7","HTTP_SEC_FETCH_SITE":"same-origin","HTTP_SEC_FETCH_MODE":"navigate","HTTP_SEC_FETCH_USER":"?1","HTTP_SEC_FETCH_DEST":"document","HTTP_REFERER":"http:\/\/127.0.0.1:8000\/school\/chanakaya-international-school\/student\/applications","HTTP_ACCEPT_ENCODING":"gzip, deflate, br, zstd","HTTP_ACCEPT_LANGUAGE":"en-US,en;q=0.9","HTTP_COOKIE":"XSRF-TOKEN=eyJpdiI6IkphKzd1N0NuQ2lNOTdXY0NqM1FjZ1E9PSIsInZhbHVlIjoiNVN0NityVFlHekc4RFBybXdrL0Vxam90Y0luUHcyc09OV2hhMWVQT2FYcjFCNWUyd2NNSVQ5SjJvN2djd292cXFvTUZsRE9pZUpaejVNVWNEQnBia0lSSU1HOThDNmpoeTBoRzFhQkxHam1hbWd3RTB0aytyaHV4blNpTDZqSGsiLCJtYWMiOiIzMDhjMDc4NmMyNjA4NzQ2MjExOWM0MzFmZTdlMjI2YmJjYjY4Njk0ZjdmMTQ4YmI0ZmM2NmVmZmUwY2UwMWYzIiwidGFnIjoiIn0%3D; laravel-session=eyJpdiI6Ik5DTjVPV2VpR09Yejh4OWZtc01CN0E9PSIsInZhbHVlIjoibVliWm5ZTytNUTFPNDRUZkRZTFlINzk1Rm5lY25RNmUrL2dLaTJCR0dwbjJKL3VtUXU5Y09DdlBKTSt4NUxnQy9OQktGaDhkN0RNdFRNQW1LazFhSXNYcXpuUHFxSTE5Q1dLVWRnaDhtSmlTaTNwTENNSHNEa1MzMUVKVFFpT1AiLCJtYWMiOiJjNmVhZWEyZWM5NjJiZWY2MzZhMGZmMTdhMjc3MDQ4ODc4YjEwY2Q1ZDQ5OGY1NGRiNjgxYzlkNDA5NDhmYWJkIiwidGFnIjoiIn0%3D","REQUEST_TIME_FLOAT":1787558214.125567,"REQUEST_TIME":1787558214},"request_cookies":{"XSRF-TOKEN":"zh***F5","laravel-session":"GCBrpZXKK3Sw4q3kZ4CJLlaroC1BUOBWrj6HsKNA"},"request_attributes":[],"route":"","response_headers":{"content-type":["text\/html; charset=utf-8"],"cache-control":["no-cache, private"],"date":["Mon, 24 Aug 2026 07:56:54 GMT"],"set-cookie":["XSRF-TOKEN=eyJpdiI6IjFYMXZScWdkd3ZOSVhkV1lxMDAvSEE9PSIsInZhbHVlIjoiczBRd1dNYzJ5M0ppTTRyYWV2MFc0QmFoMDN6V0Q5NWdOVGp2K0tJdjdyOVpwSUdmVmVhZkZEeGNscnJBSjFSdWYyNjIzZUxvZURDcWV2aG5wY3hxd2xCeGFQeWZFWDJZd0FydUpSdnlFcDhQcm1CaXdTZE5xMG5NWVJzZzRtNFoiLCJtYWMiOiJjMGJjMDQzMDhjMjE0YzRkZDlhZmIyZWE3NTYzMGUxNjQzMTA2ZDI3ZDc2NDU5ZWI4MjRiYmI0NTVhNGEyNmFmIiwidGFnIjoiIn0%3D; expires=Mon, 24 Aug 2026 09:56:54 GMT; Max-Age=7200; path=\/; samesite=lax","laravel-session=eyJpdiI6InFPODNvREkraFh3Qlh1MlpOT2RuK1E9PSIsInZhbHVlIjoibWozb0RDcDNwVzhudnk1b04xVVYwNGpaNmZ0TVJieEhncmkvUm1NNWJEbFdyQnFkdkFqbXhybERBT3g5aUtWR0ZNNW1IVkRldXdQcVhxSFZicHNvd1I4L3RYS2lmTi9oTlB2TnJldDBHcjJHa21YYWczWXpxTXhhWm5zWXNpMlciLCJtYWMiOiI5NThjMGY0ZTk0OWUwYWJhZGJhOWZjZTk5ZWI0NWMwZjFiZTM4MzFmZDkzNjc5ZTNlOTYzNDNlMTI4MTFiNzZiIiwidGFnIjoiIn0%3D; expires=Mon, 24 Aug 2026 09:56:54 GMT; Max-Age=7200; path=\/; httponly; samesite=lax"]},"response_cookies":["XSRF-TOKEN=eyJpdiI6IjFYMXZScWdkd3ZOSVhkV1lxMDAvSEE9PSIsInZhbHVlIjoiczBRd1dNYzJ5M0ppTTRyYWV2MFc0QmFoMDN6V0Q5NWdOVGp2K0tJdjdyOVpwSUdmVmVhZkZEeGNscnJBSjFSdWYyNjIzZUxvZURDcWV2aG5wY3hxd2xCeGFQeWZFWDJZd0FydUpSdnlFcDhQcm1CaXdTZE5xMG5NWVJzZzRtNFoiLCJtYWMiOiJjMGJjMDQzMDhjMjE0YzRkZDlhZmIyZWE3NTYzMGUxNjQzMTA2ZDI3ZDc2NDU5ZWI4MjRiYmI0NTVhNGEyNmFmIiwidGFnIjoiIn0%3D; expires=Mon, 24-Aug-2026 09:56:54 GMT; path=\/","laravel-session=eyJpdiI6InFPODNvREkraFh3Qlh1MlpOT2RuK1E9PSIsInZhbHVlIjoibWozb0RDcDNwVzhudnk1b04xVVYwNGpaNmZ0TVJieEhncmkvUm1NNWJEbFdyQnFkdkFqbXhybERBT3g5aUtWR0ZNNW1IVkRldXdQcVhxSFZicHNvd1I4L3RYS2lmTi9oTlB2TnJldDBHcjJHa21YYWczWXpxTXhhWm5zWXNpMlciLCJtYWMiOiI5NThjMGY0ZTk0OWUwYWJhZGJhOWZjZTk5ZWI0NWMwZjFiZTM4MzFmZDkzNjc5ZTNlOTYzNDNlMTI4MTFiNzZiIiwidGFnIjoiIn0%3D; expires=Mon, 24-Aug-2026 09:56:54 GMT; path=\/; httponly"],"session_metadata":[],"session_attributes":{"_token":"zh***F5","_previous":{"url":"http:\/\/127.0.0.1:8000\/school\/chanakaya-international-school\/student\/dashboard","route":"student.dashboard"},"_flash":{"old":[],"new":[]},"student_id":14,"student_user_id":"0012","student_school_id":4,"student_school_slug":"chanakaya-international-school","user_role":"student","user_name":"BHUSHAN DIWAKAR","login_web_59ba36addc2b2f9401580f014c7f58ea4e30989d":4,"slug":"chanakaya-international-school","school_id":4,"school_name":"Chanakaya International School","allowed_modules":["academic_management","communication","core_admin","finance_management","health","hostel","library","security","staff_hr","student_management","transport"],"plan_name":"Premium","school_logo":"schools\/logos\/logo_6a68317026e86_1785213296_large.png"},"flashes":[],"path_info":"\/school\/chanakaya-international-school\/student\/dashboard","locale":"en"},"tooltip":{"status":"200 OK","full_url":"http:\/\/127.0.0.1:8000\/school\/chanakaya-international-school\/student\/dashboard","action_name":"student.dashboard","controller_action":"App\\Http\\Controllers\\Student\\StudentController@index"},"badge":null},"exceptions":{"count":0,"exceptions":[]},"messages":{"count":2,"messages":[{"message":"[13:26:54] LOG.info: DASHBOARD HIT at 2026-08-24 13:26:54 - file mtime: 1787394915","message_html":null,"message_json":null,"is_string":true,"context":null,"context_json":null,"label":"info","time":1787558214.43993,"xdebug_link":null,"collector":"log"},{"message":"[13:26:54] LOG.info: FINAL PRE-VIEW VALUE = 1","message_html":null,"message_json":null,"is_string":true,"context":null,"context_json":null,"label":"info","time":1787558214.508522,"xdebug_link":null,"collector":"log"}]},"memory":{"peak_usage":27779984,"peak_usage_str":"26MB"},"laravel":{"version":"12.x","tooltip":{"Laravel Version":"12.61.0","PHP Version":"8.2.12","Environment":"local","Debug Mode":"Enabled","URL":"localhost","Timezone":"Asia\/Kolkata","Locale":"en"}},"views":{"count":2,"nb_templates":2,"templates":[{"name":"student.dashboard","param_count":null,"params":[],"start":1787558214.537417,"type":"blade","hash":"bladeC:\\xampp\\htdocs\\school-erp\\resources\\views\/student\/dashboard.blade.phpstudent.dashboard","xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fresources%2Fviews%2Fstudent%2Fdashboard.blade.php&line=1","ajax":false,"filename":"dashboard.blade.php","line":"?","path":"\\resources\\views\\student\\dashboard.blade.php"}},{"name":"student.layouts.app","param_count":null,"params":[],"start":1787558214.903097,"type":"blade","hash":"bladeC:\\xampp\\htdocs\\school-erp\\resources\\views\/student\/layouts\/app.blade.phpstudent.layouts.app","xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fresources%2Fviews%2Fstudent%2Flayouts%2Fapp.blade.php&line=1","ajax":false,"filename":"app.blade.php","line":"?","path":"\\resources\\views\\student\\layouts\\app.blade.php"}}]},"queries":{"count":17,"nb_statements":16,"nb_visible_statements":17,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.0154,"accumulated_duration_str":"15.4ms","memory_usage":0,"memory_usage_str":null,"statements":[{"sql":"Connection Established","type":"transaction","params":[],"backtrace":[{"index":9,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":21},{"index":10,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":11,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":12,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787558214.452479,"slow":false,"filename":"StudentController.php:21","source":{"index":9,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":21},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStudent%2FStudentController.php&line=21","ajax":false,"filename":"StudentController.php","line":"21","path":"\\app\\Http\\Controllers\\Student\\StudentController.php"},"connection":"school_erp"},{"sql":"select * from `schools` where `id` = 4 limit 1","type":"query","params":[4],"backtrace":[{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":21},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787558214.4580271,"duration":0.00227,"duration_str":"2.27ms","slow":false,"filename":"StudentController.php:21","source":{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":21},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStudent%2FStudentController.php&line=21","ajax":false,"filename":"StudentController.php","line":"21","path":"\\app\\Http\\Controllers\\Student\\StudentController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select * from `schools` where `id` = ? limit 1","modes":["explain"],"hash":"ab4f55a89c76f0427038427d1a1e573f9ccba0aa1b01402fc6eb337e41eb984e"},"start_percent":0,"width_percent":14.74},{"sql":"select * from `students` where `id` = 14 and `school_id` = 4 limit 1","type":"query","params":[14,4],"backtrace":[{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":27},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787558214.463868,"duration":0.00054,"duration_str":"540\u03bcs","slow":false,"filename":"StudentController.php:27","source":{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":27},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStudent%2FStudentController.php&line=27","ajax":false,"filename":"StudentController.php","line":"27","path":"\\app\\Http\\Controllers\\Student\\StudentController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select * from `students` where `id` = ? and `school_id` = ? limit 1","modes":["explain"],"hash":"64e4bf2f2e096744655f5fb741820ba0ef49ddc11c9bc1d6d74d772ebed5c4cb"},"start_percent":14.74,"width_percent":3.506},{"sql":"select * from `registrations` where `id` = 45 limit 1","type":"query","params":[45],"backtrace":[{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":44},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787558214.46827,"duration":0.00045,"duration_str":"450\u03bcs","slow":false,"filename":"StudentController.php:44","source":{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":44},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStudent%2FStudentController.php&line=44","ajax":false,"filename":"StudentController.php","line":"44","path":"\\app\\Http\\Controllers\\Student\\StudentController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select * from `registrations` where `id` = ? limit 1","modes":["explain"],"hash":"7a20adfa94dc1f27812974b37ae671d362809181113467b1ca92162bdc4f48be"},"start_percent":18.247,"width_percent":2.922},{"sql":"select * from `student_enquiries` where `id` = 25 limit 1","type":"query","params":[25],"backtrace":[{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":46},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787558214.472177,"duration":0.00044,"duration_str":"440\u03bcs","slow":false,"filename":"StudentController.php:46","source":{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":46},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStudent%2FStudentController.php&line=46","ajax":false,"filename":"StudentController.php","line":"46","path":"\\app\\Http\\Controllers\\Student\\StudentController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select * from `student_enquiries` where `id` = ? limit 1","modes":["explain"],"hash":"dff59794d1c25d1a38e260ecc8c83b13f80d6152325bce10187e47dd3083c3b6"},"start_percent":21.169,"width_percent":2.857},{"sql":"select (\nSELECT COUNT(*) FROM school_homework_replies r\nWHERE r.broadcast_id = h.id\nAND r.staff_id IS NOT NULL\nAND r.created_at > COALESCE((\nSELECT MAX(hr.last_read_at) FROM school_homework_reads hr\nWHERE hr.broadcast_id = h.id\nAND hr.student_id = 14\nAND hr.staff_id IS NULL\n), '1970-01-01 00:00:00')\n) as unread_replies, (\nCASE WHEN NOT EXISTS (\nSELECT 1 FROM school_homework_reads hr\nWHERE hr.broadcast_id = h.id\nAND hr.student_id = 14\nAND hr.staff_id IS NULL\n) THEN 1 ELSE 0 END\n) as is_new from `school_homework_broadcasts` as `h` where `h`.`school_id` = 4 and `h`.`status` = 'published' and exists (select 1 from `school_homework_targets` as `t` where `t`.`broadcast_id` = `h`.`id` and (`t`.`student_id` = 14 or `t`.`class_id` = 3 or `t`.`section_id` = 7))","type":"query","params":[4,"published",14,3,7],"backtrace":[{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":120},{"index":14,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787558214.478003,"duration":0.00197,"duration_str":"1.97ms","slow":false,"filename":"StudentController.php:120","source":{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":120},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStudent%2FStudentController.php&line=120","ajax":false,"filename":"StudentController.php","line":"120","path":"\\app\\Http\\Controllers\\Student\\StudentController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select (\r\n                SELECT COUNT(*) FROM school_homework_replies r\r\n                WHERE r.broadcast_id = h.id\r\n                AND r.staff_id IS NOT NULL\r\n                AND r.created_at > COALESCE((\r\n                    SELECT MAX(hr.last_read_at) FROM school_homework_reads hr\r\n                    WHERE hr.broadcast_id = h.id\r\n                    AND hr.student_id = 14\r\n                    AND hr.staff_id IS NULL\r\n                ), '1970-01-01 00:00:00')\r\n            ) as unread_replies, (\r\n                CASE WHEN NOT EXISTS (\r\n                    SELECT 1 FROM school_homework_reads hr\r\n                    WHERE hr.broadcast_id = h.id\r\n                    AND hr.student_id = 14\r\n                    AND hr.staff_id IS NULL\r\n                ) THEN 1 ELSE 0 END\r\n            ) as is_new from `school_homework_broadcasts` as `h` where `h`.`school_id` = ? and `h`.`status` = ? and exists (select 1 from `school_homework_targets` as `t` where `t`.`broadcast_id` = `h`.`id` and (`t`.`student_id` = ? or `t`.`class_id` = ? or `t`.`section_id` = ?))","modes":["explain"],"hash":"fd0013e92a74387c10848c31daaef1cefebc15fd6b30a4326c489eb141185013"},"start_percent":24.026,"width_percent":12.792},{"sql":"select count(*) as aggregate from `school_messages` where `conversation_id` in (select `conversation_id` from `school_conversation_participants` where `user_id` = 14 and `role` = 'student') and `sender_id` != 14 and `is_read` = 0","type":"query","params":[14,"student",14,0],"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":136},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787558214.4841971,"duration":0.00098,"duration_str":"980\u03bcs","slow":false,"filename":"StudentController.php:136","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":136},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStudent%2FStudentController.php&line=136","ajax":false,"filename":"StudentController.php","line":"136","path":"\\app\\Http\\Controllers\\Student\\StudentController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select count(*) as aggregate from `school_messages` where `conversation_id` in (select `conversation_id` from `school_conversation_participants` where `user_id` = ? and `role` = ?) and `sender_id` != ? and `is_read` = ?","modes":["explain"],"hash":"a27b690cd55f870eb53d5659dca680b538fb8c098a9617964550174a6146e693"},"start_percent":36.818,"width_percent":6.364},{"sql":"select * from `school_notices` as `n` where `n`.`school_id` = 4 and (`n`.`target_audience` like '%All%' or `n`.`target_audience` like '%Students%' or `n`.`target_audience` like '%Parents%') and (not exists (select 1 from `school_notice_targets` as `t` where `t`.`notice_id` = `n`.`id`) or exists (select 1 from `school_notice_targets` as `t` where `t`.`notice_id` = `n`.`id` and (`t`.`class_id` = 3 or `t`.`section_id` = 7))) order by `n`.`is_pinned` desc, `n`.`published_at` desc limit 2","type":"query","params":[4,"%All%","%Students%","%Parents%",3,7],"backtrace":[{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":162},{"index":14,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787558214.4888809,"duration":0.00092,"duration_str":"920\u03bcs","slow":false,"filename":"StudentController.php:162","source":{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":162},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStudent%2FStudentController.php&line=162","ajax":false,"filename":"StudentController.php","line":"162","path":"\\app\\Http\\Controllers\\Student\\StudentController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select * from `school_notices` as `n` where `n`.`school_id` = ? and (`n`.`target_audience` like ? or `n`.`target_audience` like ? or `n`.`target_audience` like ?) and (not exists (select 1 from `school_notice_targets` as `t` where `t`.`notice_id` = `n`.`id`) or exists (select 1 from `school_notice_targets` as `t` where `t`.`notice_id` = `n`.`id` and (`t`.`class_id` = ? or `t`.`section_id` = ?))) order by `n`.`is_pinned` desc, `n`.`published_at` desc limit 2","modes":["explain"],"hash":"99a5e2f3d27f1915587e61bb3aef845b416ea026a82a87d310104152ddfe79b0"},"start_percent":43.182,"width_percent":5.974},{"sql":"select `notice_id` from `school_notice_reads` where `notice_id` in (12, 11) and `user_id` = 14 and `user_type` = 'student'","type":"query","params":[12,11,14,"student"],"backtrace":[{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":172},{"index":14,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787558214.493663,"duration":0.00053,"duration_str":"530\u03bcs","slow":false,"filename":"StudentController.php:172","source":{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":172},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStudent%2FStudentController.php&line=172","ajax":false,"filename":"StudentController.php","line":"172","path":"\\app\\Http\\Controllers\\Student\\StudentController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select `notice_id` from `school_notice_reads` where `notice_id` in (?, ?) and `user_id` = ? and `user_type` = ?","modes":["explain"],"hash":"c318672a8b586bc455f95088bf29d98632756d87f3db9423144e6b7c50f6b520"},"start_percent":49.156,"width_percent":3.442},{"sql":"select count(*) as aggregate from `school_notices` as `n` where `n`.`school_id` = 4 and (`n`.`target_audience` like '%All%' or `n`.`target_audience` like '%Students%' or `n`.`target_audience` like '%Parents%') and (not exists (select 1 from `school_notice_targets` as `t` where `t`.`notice_id` = `n`.`id`) or exists (select 1 from `school_notice_targets` as `t` where `t`.`notice_id` = `n`.`id` and (`t`.`class_id` = 3 or `t`.`section_id` = 7))) and not exists (select 1 from `school_notice_reads` as `nr` where `nr`.`notice_id` = `n`.`id` and `nr`.`user_id` = 14 and `nr`.`user_type` = 'student')","type":"query","params":[4,"%All%","%Students%","%Parents%",3,7,14,"student"],"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":207},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787558214.498064,"duration":0.00136,"duration_str":"1.36ms","slow":false,"filename":"StudentController.php:207","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":207},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStudent%2FStudentController.php&line=207","ajax":false,"filename":"StudentController.php","line":"207","path":"\\app\\Http\\Controllers\\Student\\StudentController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select count(*) as aggregate from `school_notices` as `n` where `n`.`school_id` = ? and (`n`.`target_audience` like ? or `n`.`target_audience` like ? or `n`.`target_audience` like ?) and (not exists (select 1 from `school_notice_targets` as `t` where `t`.`notice_id` = `n`.`id`) or exists (select 1 from `school_notice_targets` as `t` where `t`.`notice_id` = `n`.`id` and (`t`.`class_id` = ? or `t`.`section_id` = ?))) and not exists (select 1 from `school_notice_reads` as `nr` where `nr`.`notice_id` = `n`.`id` and `nr`.`user_id` = ? and `nr`.`user_type` = ?)","modes":["explain"],"hash":"5c263268edbfa0e75c27199541f0f587f4b0012a9dd2bcc5c5827ad2582d53a9"},"start_percent":52.597,"width_percent":8.831},{"sql":"select * from `school_notices` as `n` where `n`.`school_id` = 4 and `n`.`is_popup` = 1 and (`n`.`target_audience` like '%All%' or `n`.`target_audience` like '%Students%' or `n`.`target_audience` like '%Parents%') and (not exists (select 1 from `school_notice_targets` as `t` where `t`.`notice_id` = `n`.`id`) or exists (select 1 from `school_notice_targets` as `t` where `t`.`notice_id` = `n`.`id` and (`t`.`class_id` = 3 or `t`.`section_id` = 7))) and date(`n`.`published_at`) <= '2026-08-24' and (`n`.`pinned_until` is null or date(`n`.`pinned_until`) >= '2026-08-24') order by `n`.`published_at` desc limit 1","type":"query","params":[4,1,"%All%","%Students%","%Parents%",3,7,"2026-08-24","2026-08-24"],"backtrace":[{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":237},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787558214.503572,"duration":0.00092,"duration_str":"920\u03bcs","slow":false,"filename":"StudentController.php:237","source":{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/Student\/StudentController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Student\\StudentController.php","line":237},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStudent%2FStudentController.php&line=237","ajax":false,"filename":"StudentController.php","line":"237","path":"\\app\\Http\\Controllers\\Student\\StudentController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select * from `school_notices` as `n` where `n`.`school_id` = ? and `n`.`is_popup` = ? and (`n`.`target_audience` like ? or `n`.`target_audience` like ? or `n`.`target_audience` like ?) and (not exists (select 1 from `school_notice_targets` as `t` where `t`.`notice_id` = `n`.`id`) or exists (select 1 from `school_notice_targets` as `t` where `t`.`notice_id` = `n`.`id` and (`t`.`class_id` = ? or `t`.`section_id` = ?))) and date(`n`.`published_at`) <= ? and (`n`.`pinned_until` is null or date(`n`.`pinned_until`) >= ?) order by `n`.`published_at` desc limit 1","modes":["explain"],"hash":"196490a6581f609c43c22c8257f5ed4f36630693e3ca4f943054a361fba1cd21"},"start_percent":61.429,"width_percent":5.974},{"sql":"select * from `students` where `id` = 14 limit 1","type":"query","params":[14],"backtrace":[{"index":14,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":187},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Concerns\/ManagesEvents.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Concerns\\ManagesEvents.php","line":178},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":189},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":160},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Response.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Response.php","line":78}],"start":1787558214.519274,"duration":0.00078,"duration_str":"780\u03bcs","slow":false,"filename":"AppServiceProvider.php:187","source":{"index":14,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":187},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FProviders%2FAppServiceProvider.php&line=187","ajax":false,"filename":"AppServiceProvider.php","line":"187","path":"\\app\\Providers\\AppServiceProvider.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select * from `students` where `id` = ? limit 1","modes":["explain"],"hash":"0ad36d69b746cdf5318dd9b1efa79ad4b086be15c57510c63676548cdde97f2b"},"start_percent":67.403,"width_percent":5.065},{"sql":"select count(distinct `h`.`id`) as aggregate from `school_homework_broadcasts` as `h` inner join `school_homework_targets` as `t` on `h`.`id` = `t`.`broadcast_id` where `h`.`school_id` = 4 and `h`.`status` = 'published' and (`t`.`student_id` = 14 or `t`.`class_id` = 3 or `t`.`section_id` = 7) and h.created_at > COALESCE((SELECT hr.last_read_at FROM school_homework_reads hr\nWHERE hr.broadcast_id = h.id AND hr.student_id = 14 LIMIT 1), '1970-01-01 00:00:00')","type":"query","params":[4,"published",14,3,7],"backtrace":[{"index":15,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":201},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Concerns\/ManagesEvents.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Concerns\\ManagesEvents.php","line":178},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":189},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":160},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Response.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Response.php","line":78}],"start":1787558214.5245469,"duration":0.00078,"duration_str":"780\u03bcs","slow":false,"filename":"AppServiceProvider.php:201","source":{"index":15,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":201},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FProviders%2FAppServiceProvider.php&line=201","ajax":false,"filename":"AppServiceProvider.php","line":"201","path":"\\app\\Providers\\AppServiceProvider.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select count(distinct `h`.`id`) as aggregate from `school_homework_broadcasts` as `h` inner join `school_homework_targets` as `t` on `h`.`id` = `t`.`broadcast_id` where `h`.`school_id` = ? and `h`.`status` = ? and (`t`.`student_id` = ? or `t`.`class_id` = ? or `t`.`section_id` = ?) and h.created_at > COALESCE((SELECT hr.last_read_at FROM school_homework_reads hr\n                    WHERE hr.broadcast_id = h.id AND hr.student_id = 14 LIMIT 1), '1970-01-01 00:00:00')","modes":["explain"],"hash":"2206c704927c9fed0d5041028fbd29b8d56098e2987b546a44a2d66d4a849e80"},"start_percent":72.468,"width_percent":5.065},{"sql":"select * from `students` where `id` = 14 limit 1","type":"query","params":[14],"backtrace":[{"index":14,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":215},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Concerns\/ManagesEvents.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Concerns\\ManagesEvents.php","line":178},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":189},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":160},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Response.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Response.php","line":78}],"start":1787558214.5284772,"duration":0.00044,"duration_str":"440\u03bcs","slow":false,"filename":"AppServiceProvider.php:215","source":{"index":14,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":215},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FProviders%2FAppServiceProvider.php&line=215","ajax":false,"filename":"AppServiceProvider.php","line":"215","path":"\\app\\Providers\\AppServiceProvider.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select * from `students` where `id` = ? limit 1","modes":["explain"],"hash":"0ad36d69b746cdf5318dd9b1efa79ad4b086be15c57510c63676548cdde97f2b"},"start_percent":77.532,"width_percent":2.857},{"sql":"select count(distinct `r`.`id`) as aggregate from `school_homework_replies` as `r` inner join `school_homework_broadcasts` as `h` on `r`.`broadcast_id` = `h`.`id` inner join `school_homework_targets` as `t` on `h`.`id` = `t`.`broadcast_id` where `h`.`school_id` = 4 and `h`.`status` = 'published' and `r`.`staff_id` is not null and (`t`.`student_id` = 14 or `t`.`class_id` = 3 or `t`.`section_id` = 7) and r.created_at > COALESCE((SELECT hr.last_read_at FROM school_homework_reads hr\nWHERE hr.broadcast_id = h.id AND hr.student_id = 14 LIMIT 1), '1970-01-01 00:00:00')","type":"query","params":[4,"published",14,3,7],"backtrace":[{"index":15,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":231},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Concerns\/ManagesEvents.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Concerns\\ManagesEvents.php","line":178},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":189},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":160},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Http\/Response.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Response.php","line":78}],"start":1787558214.532716,"duration":0.00134,"duration_str":"1.34ms","slow":false,"filename":"AppServiceProvider.php:231","source":{"index":15,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":231},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FProviders%2FAppServiceProvider.php&line=231","ajax":false,"filename":"AppServiceProvider.php","line":"231","path":"\\app\\Providers\\AppServiceProvider.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select count(distinct `r`.`id`) as aggregate from `school_homework_replies` as `r` inner join `school_homework_broadcasts` as `h` on `r`.`broadcast_id` = `h`.`id` inner join `school_homework_targets` as `t` on `h`.`id` = `t`.`broadcast_id` where `h`.`school_id` = ? and `h`.`status` = ? and `r`.`staff_id` is not null and (`t`.`student_id` = ? or `t`.`class_id` = ? or `t`.`section_id` = ?) and r.created_at > COALESCE((SELECT hr.last_read_at FROM school_homework_reads hr\n                            WHERE hr.broadcast_id = h.id AND hr.student_id = 14 LIMIT 1), '1970-01-01 00:00:00')","modes":["explain"],"hash":"911f07b3d41b18792c617ce74bbf6041d137bc553766b34bc75c3f555651d626"},"start_percent":80.39,"width_percent":8.701},{"sql":"select * from `schools` where `id` = 4 limit 1","type":"query","params":[4],"backtrace":[{"index":14,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":33},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Concerns\/ManagesEvents.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Concerns\\ManagesEvents.php","line":178},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":189},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":160},{"index":21,"namespace":"view","name":"student.dashboard","file":"C:\\xampp\\htdocs\\school-erp\\resources\\views\/student\/dashboard.blade.php","line":268}],"start":1787558214.892182,"duration":0.00068,"duration_str":"680\u03bcs","slow":false,"filename":"AppServiceProvider.php:33","source":{"index":14,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":33},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FProviders%2FAppServiceProvider.php&line=33","ajax":false,"filename":"AppServiceProvider.php","line":"33","path":"\\app\\Providers\\AppServiceProvider.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select * from `schools` where `id` = ? limit 1","modes":["explain"],"hash":"ab4f55a89c76f0427038427d1a1e573f9ccba0aa1b01402fc6eb337e41eb984e"},"start_percent":89.091,"width_percent":4.416},{"sql":"select count(*) as aggregate from `school_messages` where `conversation_id` in (select `conversation_id` from `school_conversation_participants` where `user_id` = 14 and `role` = 'student') and `sender_id` != 14 and `is_read` = 0","type":"query","params":[14,"student",14,0],"backtrace":[{"index":15,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":60},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Concerns\/ManagesEvents.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Concerns\\ManagesEvents.php","line":178},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":189},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":160},{"index":22,"namespace":"view","name":"student.dashboard","file":"C:\\xampp\\htdocs\\school-erp\\resources\\views\/student\/dashboard.blade.php","line":268}],"start":1787558214.898874,"duration":0.001,"duration_str":"1ms","slow":false,"filename":"AppServiceProvider.php:60","source":{"index":15,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":60},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FProviders%2FAppServiceProvider.php&line=60","ajax":false,"filename":"AppServiceProvider.php","line":"60","path":"\\app\\Providers\\AppServiceProvider.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select count(*) as aggregate from `school_messages` where `conversation_id` in (select `conversation_id` from `school_conversation_participants` where `user_id` = ? and `role` = ?) and `sender_id` != ? and `is_read` = ?","modes":["explain"],"hash":"a27b690cd55f870eb53d5659dca680b538fb8c098a9617964550174a6146e693"},"start_percent":93.506,"width_percent":6.494}]},"models":{"data":[],"count":0,"key_map":{"retrieved":"Retrieved","created":"Created","updated":"Updated","deleted":"Deleted"},"is_counter":true,"badges":[]},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":0,"messages":[]},"jobs":{"data":[],"count":0,"key_map":{"value":"Count"},"is_counter":true},"http_client":{"nb_requests":0,"requests":[]},"time":{"count":7,"start":1787558214.125982,"end":1787558214.920182,"duration":0.7941999435424805,"duration_str":"794ms","measures":[{"label":"Booting","start":1787558214.125982,"relative_start":0,"end":1787558214.361584,"relative_end":1787558214.361584,"duration":0.23560190200805664,"duration_str":"236ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1787558214.361607,"relative_start":0.2356250286102295,"end":1787558214.920186,"relative_end":4.0531158447265625e-6,"duration":0.5585789680480957,"duration_str":"559ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1787558214.412074,"relative_start":0.28609204292297363,"end":1787558214.416593,"relative_end":1787558214.416593,"duration":0.004518985748291016,"duration_str":"4.52ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1787558214.51615,"relative_start":0.3901679515838623,"end":1787558214.905358,"relative_end":1787558214.905358,"duration":0.3892080783843994,"duration_str":"389ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"student.dashboard","start":1787558214.537417,"relative_start":0.4114348888397217,"end":1787558214.537417,"relative_end":1787558214.537417,"duration":0,"duration_str":"0\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":"views","group":"Views"},{"label":"student.layouts.app","start":1787558214.903097,"relative_start":0.7771148681640625,"end":1787558214.903097,"relative_end":1787558214.903097,"duration":0,"duration_str":"0\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":"views","group":"Views"},{"label":"Preparing Response","start":1787558214.907643,"relative_start":0.7816610336303711,"end":1787558214.90775,"relative_end":1787558214.90775,"duration":0.0001068115234375,"duration_str":"107\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"cache":{"count":0,"start":1787558214.125567,"end":1787558214.920227,"duration":0.7946600914001465,"duration_str":"795ms","measures":[],"nb_measures":0}}