[01-Nov-2025 04:55:50 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/youtubek/public_html/att/includes/header.php:2) in /home/youtubek/public_html/att/admin/students.php on line 781
[01-Nov-2025 04:56:44 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/youtubek/public_html/att/includes/header.php:2) in /home/youtubek/public_html/att/admin/students.php on line 781
[05-Dec-2025 05:38:24 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'youtubek_att_db.subjects' doesn't exist in /home/youtubek/public_html/att/admin/award_list.php:87
Stack trace:
#0 /home/youtubek/public_html/att/admin/award_list.php(87): mysqli->query('SELECT * FROM s...')
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/award_list.php on line 87
[08-Dec-2025 07:09:42 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/youtubek/public_html/att/includes/header.php:2) in /home/youtubek/public_html/att/admin/students.php on line 781
[08-Dec-2025 07:15:02 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/youtubek/public_html/att/includes/header.php:2) in /home/youtubek/public_html/att/admin/students.php on line 781
[09-Dec-2025 05:16:15 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '6-Nazra Quran' for key 'unique_subject_per_class' in /home/youtubek/public_html/att/admin/award_list.php:67
Stack trace:
#0 /home/youtubek/public_html/att/admin/award_list.php(67): mysqli_stmt->execute()
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/award_list.php on line 67
[09-Dec-2025 05:17:09 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '6-Nazra Quran' for key 'unique_subject_per_class' in /home/youtubek/public_html/att/admin/award_list.php:67
Stack trace:
#0 /home/youtubek/public_html/att/admin/award_list.php(67): mysqli_stmt->execute()
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/award_list.php on line 67
[10-Dec-2025 07:13:53 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/youtubek/public_html/att/includes/header.php:2) in /home/youtubek/public_html/att/admin/students.php on line 781
[10-Dec-2025 07:15:01 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/youtubek/public_html/att/includes/header.php:2) in /home/youtubek/public_html/att/admin/students.php on line 781
[16-Dec-2025 06:17:33 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '6-Islamiat' for key 'unique_subject_per_class' in /home/youtubek/public_html/att/admin/award_list.php:67
Stack trace:
#0 /home/youtubek/public_html/att/admin/award_list.php(67): mysqli_stmt->execute()
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/award_list.php on line 67
[17-Dec-2025 06:52:43 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '7-G.k' for key 'unique_subject_per_class' in /home/youtubek/public_html/att/admin/award_list.php:67
Stack trace:
#0 /home/youtubek/public_html/att/admin/award_list.php(67): mysqli_stmt->execute()
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/award_list.php on line 67
[22-Jan-2026 06:29:09 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'month_year' in 'field list' in /home/youtubek/public_html/att/admin/timetable.php:87
Stack trace:
#0 /home/youtubek/public_html/att/admin/timetable.php(87): mysqli->query('UPDATE timetabl...')
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/timetable.php on line 87
[26-Jan-2026 03:59:44 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '3-1-Monday' for key 'unique_class_period_day' in /home/youtubek/public_html/att/admin/timetable.php:337
Stack trace:
#0 /home/youtubek/public_html/att/admin/timetable.php(337): mysqli_stmt->execute()
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/timetable.php on line 337
[26-Jan-2026 04:02:25 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '3-1-Monday' for key 'unique_class_period_day' in /home/youtubek/public_html/att/admin/timetable.php:337
Stack trace:
#0 /home/youtubek/public_html/att/admin/timetable.php(337): mysqli_stmt->execute()
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/timetable.php on line 337
[26-Jan-2026 04:06:38 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '3-1-Monday' for key 'unique_class_period_day' in /home/youtubek/public_html/att/admin/timetable.php:337
Stack trace:
#0 /home/youtubek/public_html/att/admin/timetable.php(337): mysqli_stmt->execute()
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/timetable.php on line 337
[26-Jan-2026 04:06:49 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '3-1-Monday' for key 'unique_class_period_day' in /home/youtubek/public_html/att/admin/timetable.php:337
Stack trace:
#0 /home/youtubek/public_html/att/admin/timetable.php(337): mysqli_stmt->execute()
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/timetable.php on line 337
[26-Jan-2026 04:08:28 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '3-1-Monday' for key 'unique_class_period_day' in /home/youtubek/public_html/att/admin/timetable.php:337
Stack trace:
#0 /home/youtubek/public_html/att/admin/timetable.php(337): mysqli_stmt->execute()
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/timetable.php on line 337
[26-Jan-2026 04:09:43 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '3-1-Monday' for key 'unique_class_period_day' in /home/youtubek/public_html/att/admin/timetable.php:337
Stack trace:
#0 /home/youtubek/public_html/att/admin/timetable.php(337): mysqli_stmt->execute()
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/timetable.php on line 337
[26-Jan-2026 04:10:45 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '3-1-Monday' for key 'unique_class_period_day' in /home/youtubek/public_html/att/admin/timetable.php:337
Stack trace:
#0 /home/youtubek/public_html/att/admin/timetable.php(337): mysqli_stmt->execute()
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/timetable.php on line 337
[26-Jan-2026 04:12:56 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '3-1-Monday' for key 'unique_class_period_day' in /home/youtubek/public_html/att/admin/timetable.php:337
Stack trace:
#0 /home/youtubek/public_html/att/admin/timetable.php(337): mysqli_stmt->execute()
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/timetable.php on line 337
[09-Mar-2026 07:27:46 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/youtubek/public_html/att/admin/award_list.php:388
Stack trace:
#0 /home/youtubek/public_html/att/admin/award_list.php(388): mysqli_stmt->bind_param('iiidssds', 518, 59, 4, 0.0, '2026-03-09', 0.0, '2026-03-09')
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/award_list.php on line 388
[09-Mar-2026 07:28:06 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/youtubek/public_html/att/admin/award_list.php:388
Stack trace:
#0 /home/youtubek/public_html/att/admin/award_list.php(388): mysqli_stmt->bind_param('iiidssds', 518, 59, 4, 0.0, '2026-03-09', 0.0, '2026-03-09')
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/award_list.php on line 388
[09-Mar-2026 07:28:23 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/youtubek/public_html/att/admin/award_list.php:388
Stack trace:
#0 /home/youtubek/public_html/att/admin/award_list.php(388): mysqli_stmt->bind_param('iiidssds', 518, 59, 4, 0.0, '2026-03-09', 0.0, '2026-03-09')
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/award_list.php on line 388
[17-Mar-2026 05:54:38 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/youtubek/public_html/att/admin/award_list.php:388
Stack trace:
#0 /home/youtubek/public_html/att/admin/award_list.php(388): mysqli_stmt->bind_param('iiidssds', 518, 59, 4, 95.0, '2026-03-17', 95.0, '2026-03-17')
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/award_list.php on line 388
[17-Mar-2026 06:11:11 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/youtubek/public_html/att/admin/award_list.php:388
Stack trace:
#0 /home/youtubek/public_html/att/admin/award_list.php(388): mysqli_stmt->bind_param('iiidssds', 503, 73, 4, 65.0, '2026-03-17', 65.0, '2026-03-17')
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/award_list.php on line 388
[17-Mar-2026 06:11:41 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/youtubek/public_html/att/admin/award_list.php:388
Stack trace:
#0 /home/youtubek/public_html/att/admin/award_list.php(388): mysqli_stmt->bind_param('iiidssds', 503, 73, 4, 65.0, '2026-03-17', 65.0, '2026-03-17')
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/award_list.php on line 388
[18-Mar-2026 05:55:14 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/youtubek/public_html/att/admin/award_list.php:388
Stack trace:
#0 /home/youtubek/public_html/att/admin/award_list.php(388): mysqli_stmt->bind_param('iiidssds', 493, 62, 4, 76.0, '2026-03-18', 76.0, '2026-03-18')
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/award_list.php on line 388
[18-Mar-2026 06:21:57 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/youtubek/public_html/att/admin/award_list.php:388
Stack trace:
#0 /home/youtubek/public_html/att/admin/award_list.php(388): mysqli_stmt->bind_param('iiidssds', 484, 77, 4, 70.0, '2026-03-18', 70.0, '2026-03-18')
#1 {main}
  thrown in /home/youtubek/public_html/att/admin/award_list.php on line 388
[28-Mar-2026 09:34:11 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/youtubek/public_html/att/includes/header.php:2) in /home/youtubek/public_html/att/admin/students.php on line 1221
[29-Mar-2026 05:55:51 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/youtubek/public_html/att/includes/header.php:2) in /home/youtubek/public_html/att/admin/students.php on line 1221
[29-Mar-2026 05:55:56 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/youtubek/public_html/att/includes/header.php:2) in /home/youtubek/public_html/att/admin/students.php on line 1221
[29-Mar-2026 05:56:04 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/youtubek/public_html/att/includes/header.php:2) in /home/youtubek/public_html/att/admin/students.php on line 1221
[29-Mar-2026 05:56:11 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/youtubek/public_html/att/includes/header.php:2) in /home/youtubek/public_html/att/admin/students.php on line 1221
[29-Mar-2026 05:56:22 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/youtubek/public_html/att/includes/header.php:2) in /home/youtubek/public_html/att/admin/students.php on line 1221
[29-Mar-2026 05:56:27 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/youtubek/public_html/att/includes/header.php:2) in /home/youtubek/public_html/att/admin/students.php on line 1221
[29-Mar-2026 05:56:37 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/youtubek/public_html/att/includes/header.php:2) in /home/youtubek/public_html/att/admin/students.php on line 1221
[29-Mar-2026 05:58:06 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/youtubek/public_html/att/includes/header.php:2) in /home/youtubek/public_html/att/admin/students.php on line 1221
[29-Mar-2026 08:54:57 UTC] DEBUG report_card.php: student_id=480, class_id=9, term_id=4
[29-Mar-2026 08:55:50 UTC] DEBUG report_card.php: student_id=480, class_id=9, term_id=4
[29-Mar-2026 08:58:21 UTC] DEBUG report_card.php: student_id=480, class_id=9, term_id=4
[29-Mar-2026 08:58:32 UTC] DEBUG report_card.php: student_id=480, class_id=9, term_id=4
[29-Mar-2026 08:59:22 UTC] DEBUG report_card.php: student_id=484, class_id=9, term_id=4
[29-Mar-2026 09:20:37 UTC] DEBUG report_card.php: student_id=484, class_id=9, term_id=4
[29-Mar-2026 09:20:48 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[29-Mar-2026 09:20:51 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[29-Mar-2026 09:20:56 UTC] DEBUG report_card.php: student_id=503, class_id=7, term_id=0
[29-Mar-2026 09:27:16 UTC] DEBUG report_card.php: student_id=503, class_id=7, term_id=0
[29-Mar-2026 09:27:35 UTC] DEBUG report_card.php: student_id=503, class_id=7, term_id=0
[01-Apr-2026 03:51:10 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 03:52:43 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 03:54:15 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 03:58:00 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 03:59:44 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:00:30 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:01:24 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:01:43 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:01:44 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:02:08 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:02:54 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:07:24 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:08:50 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:09:06 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:10:35 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:14:48 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:16:29 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:16:52 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:17:29 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:18:32 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:20:46 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:21:42 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:39:46 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:40:24 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:40:47 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:44:13 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:44:36 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:51:01 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:52:19 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:53:41 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:54:36 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:55:42 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:56:53 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:58:15 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 04:59:08 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 05:00:54 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 05:12:22 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 05:12:34 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 05:12:51 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[01-Apr-2026 13:03:09 UTC] DEBUG report_card.php: student_id=494, class_id=9, term_id=4
[01-Apr-2026 13:04:44 UTC] DEBUG report_card.php: student_id=484, class_id=9, term_id=0
[01-Apr-2026 13:15:31 UTC] DEBUG report_card.php: student_id=484, class_id=9, term_id=0
[01-Apr-2026 15:23:31 UTC] DEBUG report_card.php: student_id=484, class_id=9, term_id=0
[01-Apr-2026 15:23:46 UTC] DEBUG report_card.php: student_id=484, class_id=9, term_id=0
[01-Apr-2026 15:55:19 UTC] DEBUG report_card.php: student_id=484, class_id=9, term_id=4
[01-Apr-2026 15:55:24 UTC] DEBUG report_card.php: student_id=484, class_id=9, term_id=4
[01-Apr-2026 15:55:24 UTC] DEBUG report_card.php: student_id=484, class_id=9, term_id=4
[01-Apr-2026 15:55:25 UTC] DEBUG report_card.php: student_id=484, class_id=9, term_id=4
[01-Apr-2026 15:55:25 UTC] DEBUG report_card.php: student_id=484, class_id=9, term_id=4
[01-Apr-2026 17:33:18 UTC] DEBUG report_card.php: student_id=484, class_id=9, term_id=0
[01-Apr-2026 17:38:18 UTC] DEBUG report_card.php: student_id=484, class_id=9, term_id=0
[02-Apr-2026 05:07:45 UTC] DEBUG report_card.php: student_id=484, class_id=9, term_id=0
[02-Apr-2026 05:08:48 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[02-Apr-2026 05:09:09 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[02-Apr-2026 05:09:39 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[02-Apr-2026 05:10:49 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[02-Apr-2026 05:12:08 UTC] DEBUG report_card.php: student_id=485, class_id=9, term_id=0
[02-Apr-2026 05:14:28 UTC] DEBUG report_card.php: student_id=487, class_id=9, term_id=0
[02-Apr-2026 05:17:17 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[02-Apr-2026 05:17:32 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[02-Apr-2026 05:19:24 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[02-Apr-2026 05:19:43 UTC] PHP Warning:  Undefined variable $view_student_id in /home/youtubek/public_html/att/admin/students.php on line 1134
[27-Sep-2026 10:51:45 UTC] Request method: GET
[27-Sep-2026 10:51:45 UTC] POST data: Array
(
)

[27-Sep-2026 10:51:45 UTC] Current school_id: 3
[27-Sep-2026 10:51:45 UTC] GET parameters: Array
(
    [school_id] => 3
)

[27-Sep-2026 10:51:45 UTC] SESSION current_school_id: 3
[27-Sep-2026 10:51:45 UTC] Fetching classes with filter: WHERE school_id = 3
[27-Sep-2026 10:51:45 UTC] Found 6 classes
[27-Sep-2026 10:51:45 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => 
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[27-Sep-2026 10:51:45 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[27-Sep-2026 10:51:45 UTC] Found 2 teachers
[27-Sep-2026 10:51:45 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[27-Sep-2026 10:55:38 UTC] Request method: GET
[27-Sep-2026 10:55:38 UTC] POST data: Array
(
)

[27-Sep-2026 10:55:38 UTC] Current school_id: 3
[27-Sep-2026 10:55:38 UTC] GET parameters: Array
(
    [school_id] => 3
)

[27-Sep-2026 10:55:38 UTC] SESSION current_school_id: 3
[27-Sep-2026 10:55:38 UTC] Fetching classes with filter: WHERE school_id = 3
[27-Sep-2026 10:55:38 UTC] Found 6 classes
[27-Sep-2026 10:55:38 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => 
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[27-Sep-2026 10:55:38 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[27-Sep-2026 10:55:38 UTC] Found 2 teachers
[27-Sep-2026 10:55:38 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[27-Sep-2026 11:17:46 UTC] Request method: GET
[27-Sep-2026 11:17:46 UTC] POST data: Array
(
)

[27-Sep-2026 11:17:46 UTC] Current school_id: 3
[27-Sep-2026 11:17:46 UTC] GET parameters: Array
(
    [school_id] => 3
)

[27-Sep-2026 11:17:46 UTC] SESSION current_school_id: 3
[27-Sep-2026 11:17:46 UTC] Fetching classes with filter: WHERE school_id = 3
[27-Sep-2026 11:17:46 UTC] Found 6 classes
[27-Sep-2026 11:17:46 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => 
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[27-Sep-2026 11:17:46 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[27-Sep-2026 11:17:46 UTC] Found 2 teachers
[27-Sep-2026 11:17:46 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[27-Sep-2026 11:18:09 UTC] Request method: POST
[27-Sep-2026 11:18:09 UTC] POST data: Array
(
    [action] => update_background_logo
    [school_id] => 3
    [class_id] => 29
)

[27-Sep-2026 11:18:09 UTC] Current school_id: 3
[27-Sep-2026 11:18:09 UTC] GET parameters: Array
(
    [school_id] => 3
)

[27-Sep-2026 11:18:09 UTC] SESSION current_school_id: 3
[27-Sep-2026 11:18:09 UTC] Background logo update - Class ID: 29, School ID: 3
[27-Sep-2026 11:18:10 UTC] Background logo uploaded successfully: /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
[27-Sep-2026 11:18:10 UTC] Background logo updated successfully for class ID: 29
[27-Sep-2026 11:18:10 UTC] Request method: GET
[27-Sep-2026 11:18:10 UTC] POST data: Array
(
)

[27-Sep-2026 11:18:10 UTC] Current school_id: 3
[27-Sep-2026 11:18:10 UTC] GET parameters: Array
(
    [school_id] => 3
    [success] => logo_updated
)

[27-Sep-2026 11:18:10 UTC] SESSION current_school_id: 3
[27-Sep-2026 11:18:10 UTC] Fetching classes with filter: WHERE school_id = 3
[27-Sep-2026 11:18:10 UTC] Found 6 classes
[27-Sep-2026 11:18:10 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[27-Sep-2026 11:18:10 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[27-Sep-2026 11:18:10 UTC] Found 2 teachers
[27-Sep-2026 11:18:10 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[27-Sep-2026 11:18:40 UTC] Request method: GET
[27-Sep-2026 11:18:40 UTC] POST data: Array
(
)

[27-Sep-2026 11:18:40 UTC] Current school_id: 3
[27-Sep-2026 11:18:40 UTC] GET parameters: Array
(
    [school_id] => 3
)

[27-Sep-2026 11:18:40 UTC] SESSION current_school_id: 3
[27-Sep-2026 11:18:40 UTC] Fetching classes with filter: WHERE school_id = 3
[27-Sep-2026 11:18:40 UTC] Found 6 classes
[27-Sep-2026 11:18:40 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[27-Sep-2026 11:18:40 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[27-Sep-2026 11:18:40 UTC] Found 2 teachers
[27-Sep-2026 11:18:40 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[27-Sep-2026 12:00:19 UTC] Request method: GET
[27-Sep-2026 12:00:19 UTC] POST data: Array
(
)

[27-Sep-2026 12:00:19 UTC] Current school_id: 3
[27-Sep-2026 12:00:19 UTC] GET parameters: Array
(
    [school_id] => 3
)

[27-Sep-2026 12:00:19 UTC] SESSION current_school_id: 3
[27-Sep-2026 12:00:19 UTC] Fetching classes with filter: WHERE school_id = 3
[27-Sep-2026 12:00:19 UTC] Found 6 classes
[27-Sep-2026 12:00:19 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[27-Sep-2026 12:00:19 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[27-Sep-2026 12:00:19 UTC] Found 2 teachers
[27-Sep-2026 12:00:19 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[27-Sep-2026 12:29:22 UTC] Request method: GET
[27-Sep-2026 12:29:22 UTC] POST data: Array
(
)

[27-Sep-2026 12:29:22 UTC] Current school_id: 3
[27-Sep-2026 12:29:22 UTC] GET parameters: Array
(
    [school_id] => 3
)

[27-Sep-2026 12:29:22 UTC] SESSION current_school_id: 3
[27-Sep-2026 12:29:22 UTC] Fetching classes with filter: WHERE school_id = 3
[27-Sep-2026 12:29:22 UTC] Found 6 classes
[27-Sep-2026 12:29:22 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[27-Sep-2026 12:29:22 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[27-Sep-2026 12:29:22 UTC] Found 2 teachers
[27-Sep-2026 12:29:22 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[27-Sep-2026 12:29:27 UTC] Request method: GET
[27-Sep-2026 12:29:27 UTC] POST data: Array
(
)

[27-Sep-2026 12:29:27 UTC] Current school_id: 3
[27-Sep-2026 12:29:27 UTC] GET parameters: Array
(
    [school_id] => 3
)

[27-Sep-2026 12:29:27 UTC] SESSION current_school_id: 3
[27-Sep-2026 12:29:27 UTC] Fetching classes with filter: WHERE school_id = 3
[27-Sep-2026 12:29:27 UTC] Found 6 classes
[27-Sep-2026 12:29:27 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[27-Sep-2026 12:29:27 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[27-Sep-2026 12:29:27 UTC] Found 2 teachers
[27-Sep-2026 12:29:27 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 03:46:02 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:46:02 UTC] No term selected, finding default term
[28-Sep-2026 03:46:02 UTC] Using latest term: term_id=6
[28-Sep-2026 03:46:04 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:46:04 UTC] No term selected, finding default term
[28-Sep-2026 03:46:04 UTC] Using latest term: term_id=6
[28-Sep-2026 03:46:27 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:46:27 UTC] Term already selected: term_id=6
[28-Sep-2026 03:46:31 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:46:31 UTC] Term already selected: term_id=6
[28-Sep-2026 03:46:40 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:46:40 UTC] Term already selected: term_id=6
[28-Sep-2026 03:46:47 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:46:47 UTC] Term already selected: term_id=6
[28-Sep-2026 03:46:51 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:46:51 UTC] Term already selected: term_id=6
[28-Sep-2026 03:47:05 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:47:05 UTC] Term already selected: term_id=6
[28-Sep-2026 03:47:14 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:47:14 UTC] Term already selected: term_id=6
[28-Sep-2026 03:47:30 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:47:30 UTC] Term already selected: term_id=6
[28-Sep-2026 03:48:51 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:48:51 UTC] Term already selected: term_id=6
[28-Sep-2026 03:48:56 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:48:56 UTC] Term already selected: term_id=6
[28-Sep-2026 03:49:03 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:49:03 UTC] Term already selected: term_id=6
[28-Sep-2026 03:49:08 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:49:08 UTC] Term already selected: term_id=6
[28-Sep-2026 03:49:12 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:49:12 UTC] Term already selected: term_id=6
[28-Sep-2026 03:49:16 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:49:16 UTC] Term already selected: term_id=6
[28-Sep-2026 03:49:21 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:49:21 UTC] Term already selected: term_id=6
[28-Sep-2026 03:49:31 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:49:31 UTC] Term already selected: term_id=6
[28-Sep-2026 03:49:35 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:49:35 UTC] Term already selected: term_id=6
[28-Sep-2026 03:49:42 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:49:42 UTC] Term already selected: term_id=6
[28-Sep-2026 03:49:56 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:49:56 UTC] Term already selected: term_id=6
[28-Sep-2026 03:50:12 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:50:12 UTC] Term already selected: term_id=6
[28-Sep-2026 03:50:16 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:50:16 UTC] Term already selected: term_id=6
[28-Sep-2026 03:50:20 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:50:20 UTC] Term already selected: term_id=6
[28-Sep-2026 03:50:24 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:50:24 UTC] Term already selected: term_id=6
[28-Sep-2026 03:50:28 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:50:28 UTC] Term already selected: term_id=6
[28-Sep-2026 03:50:36 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:50:36 UTC] Term already selected: term_id=6
[28-Sep-2026 03:50:46 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:50:46 UTC] Term already selected: term_id=6
[28-Sep-2026 03:51:00 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:51:00 UTC] Term already selected: term_id=6
[28-Sep-2026 03:51:03 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:51:03 UTC] Term already selected: term_id=6
[28-Sep-2026 03:51:15 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:51:15 UTC] Term already selected: term_id=6
[28-Sep-2026 03:51:29 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:51:29 UTC] Term already selected: term_id=6
[28-Sep-2026 03:51:34 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:51:34 UTC] Term already selected: term_id=6
[28-Sep-2026 03:51:39 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:51:39 UTC] Term already selected: term_id=6
[28-Sep-2026 03:51:43 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:51:43 UTC] Term already selected: term_id=6
[28-Sep-2026 03:51:48 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:51:48 UTC] Term already selected: term_id=6
[28-Sep-2026 03:51:54 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:51:54 UTC] Term already selected: term_id=6
[28-Sep-2026 03:52:02 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:52:02 UTC] Term already selected: term_id=6
[28-Sep-2026 03:52:21 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:52:21 UTC] Term already selected: term_id=6
[28-Sep-2026 03:52:24 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 03:52:24 UTC] Term already selected: term_id=6
[28-Sep-2026 04:27:47 UTC] Request method: GET
[28-Sep-2026 04:27:47 UTC] POST data: Array
(
)

[28-Sep-2026 04:27:47 UTC] Current school_id: 3
[28-Sep-2026 04:27:47 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 04:27:47 UTC] SESSION current_school_id: 3
[28-Sep-2026 04:27:47 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 04:27:47 UTC] Found 6 classes
[28-Sep-2026 04:27:47 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 04:27:47 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 04:27:47 UTC] Found 2 teachers
[28-Sep-2026 04:27:47 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 04:29:59 UTC] Request method: GET
[28-Sep-2026 04:29:59 UTC] POST data: Array
(
)

[28-Sep-2026 04:29:59 UTC] Current school_id: 3
[28-Sep-2026 04:29:59 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 04:29:59 UTC] SESSION current_school_id: 3
[28-Sep-2026 04:29:59 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 04:29:59 UTC] Found 6 classes
[28-Sep-2026 04:29:59 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 04:29:59 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 04:29:59 UTC] Found 2 teachers
[28-Sep-2026 04:29:59 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 04:31:40 UTC] Request method: GET
[28-Sep-2026 04:31:40 UTC] POST data: Array
(
)

[28-Sep-2026 04:31:40 UTC] Current school_id: 3
[28-Sep-2026 04:31:40 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 04:31:40 UTC] SESSION current_school_id: 3
[28-Sep-2026 04:31:40 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 04:31:40 UTC] Found 6 classes
[28-Sep-2026 04:31:40 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 04:31:40 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 04:31:40 UTC] Found 2 teachers
[28-Sep-2026 04:31:40 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 04:33:48 UTC] Request method: GET
[28-Sep-2026 04:33:48 UTC] POST data: Array
(
)

[28-Sep-2026 04:33:48 UTC] Current school_id: 3
[28-Sep-2026 04:33:48 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 04:33:48 UTC] SESSION current_school_id: 3
[28-Sep-2026 04:33:48 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 04:33:48 UTC] Found 6 classes
[28-Sep-2026 04:33:48 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 04:33:48 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 04:33:48 UTC] Found 2 teachers
[28-Sep-2026 04:33:48 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 04:49:47 UTC] Request method: GET
[28-Sep-2026 04:49:47 UTC] POST data: Array
(
)

[28-Sep-2026 04:49:47 UTC] Current school_id: 3
[28-Sep-2026 04:49:47 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 04:49:47 UTC] SESSION current_school_id: 3
[28-Sep-2026 04:49:47 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 04:49:47 UTC] Found 6 classes
[28-Sep-2026 04:49:47 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 04:49:47 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 04:49:47 UTC] Found 2 teachers
[28-Sep-2026 04:49:47 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 04:55:06 UTC] Request method: GET
[28-Sep-2026 04:55:06 UTC] POST data: Array
(
)

[28-Sep-2026 04:55:06 UTC] Current school_id: 3
[28-Sep-2026 04:55:06 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 04:55:06 UTC] SESSION current_school_id: 3
[28-Sep-2026 04:55:06 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 04:55:06 UTC] Found 6 classes
[28-Sep-2026 04:55:06 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 04:55:06 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 04:55:06 UTC] Found 2 teachers
[28-Sep-2026 04:55:06 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 05:09:49 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '29-3' for key 'uniq_class_roll' in /home2/khuzdart/public_html/att/admin/students.php:270
Stack trace:
#0 /home2/khuzdart/public_html/att/admin/students.php(270): mysqli_stmt->execute()
#1 {main}
  thrown in /home2/khuzdart/public_html/att/admin/students.php on line 270
[28-Sep-2026 05:10:01 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '29-3' for key 'uniq_class_roll' in /home2/khuzdart/public_html/att/admin/students.php:270
Stack trace:
#0 /home2/khuzdart/public_html/att/admin/students.php(270): mysqli_stmt->execute()
#1 {main}
  thrown in /home2/khuzdart/public_html/att/admin/students.php on line 270
[28-Sep-2026 05:16:18 UTC] Request method: GET
[28-Sep-2026 05:16:18 UTC] POST data: Array
(
)

[28-Sep-2026 05:16:18 UTC] Current school_id: 3
[28-Sep-2026 05:16:18 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 05:16:18 UTC] SESSION current_school_id: 3
[28-Sep-2026 05:16:18 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 05:16:18 UTC] Found 6 classes
[28-Sep-2026 05:16:18 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 05:16:18 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 05:16:18 UTC] Found 2 teachers
[28-Sep-2026 05:16:18 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 05:17:25 UTC] Request method: GET
[28-Sep-2026 05:17:25 UTC] POST data: Array
(
)

[28-Sep-2026 05:17:25 UTC] Current school_id: 3
[28-Sep-2026 05:17:25 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 05:17:25 UTC] SESSION current_school_id: 3
[28-Sep-2026 05:17:25 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 05:17:25 UTC] Found 6 classes
[28-Sep-2026 05:17:25 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 05:17:25 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 05:17:25 UTC] Found 2 teachers
[28-Sep-2026 05:17:25 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 05:18:28 UTC] Request method: GET
[28-Sep-2026 05:18:28 UTC] POST data: Array
(
)

[28-Sep-2026 05:18:28 UTC] Current school_id: 3
[28-Sep-2026 05:18:28 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 05:18:28 UTC] SESSION current_school_id: 3
[28-Sep-2026 05:18:28 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 05:18:28 UTC] Found 6 classes
[28-Sep-2026 05:18:28 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 05:18:28 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 05:18:28 UTC] Found 2 teachers
[28-Sep-2026 05:18:28 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 06:09:14 UTC] Request method: GET
[28-Sep-2026 06:09:14 UTC] POST data: Array
(
)

[28-Sep-2026 06:09:14 UTC] Current school_id: 3
[28-Sep-2026 06:09:14 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 06:09:14 UTC] SESSION current_school_id: 3
[28-Sep-2026 06:09:14 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 06:09:14 UTC] Found 6 classes
[28-Sep-2026 06:09:14 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 06:09:14 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 06:09:14 UTC] Found 2 teachers
[28-Sep-2026 06:09:14 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 07:00:23 UTC] Request method: GET
[28-Sep-2026 07:00:23 UTC] POST data: Array
(
)

[28-Sep-2026 07:00:23 UTC] Current school_id: 3
[28-Sep-2026 07:00:23 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:00:23 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:00:23 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:00:23 UTC] Found 6 classes
[28-Sep-2026 07:00:23 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 07:00:23 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:00:23 UTC] Found 2 teachers
[28-Sep-2026 07:00:23 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 07:01:39 UTC] Request method: GET
[28-Sep-2026 07:01:39 UTC] POST data: Array
(
)

[28-Sep-2026 07:01:39 UTC] Current school_id: 3
[28-Sep-2026 07:01:39 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:01:39 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:01:39 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:01:39 UTC] Found 6 classes
[28-Sep-2026 07:01:39 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 07:01:39 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:01:39 UTC] Found 2 teachers
[28-Sep-2026 07:01:39 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 07:01:46 UTC] Request method: GET
[28-Sep-2026 07:01:46 UTC] POST data: Array
(
)

[28-Sep-2026 07:01:46 UTC] Current school_id: 3
[28-Sep-2026 07:01:46 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:01:46 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:01:46 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:01:46 UTC] Found 6 classes
[28-Sep-2026 07:01:46 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 07:01:46 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:01:46 UTC] Found 2 teachers
[28-Sep-2026 07:01:46 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 07:01:49 UTC] Request method: GET
[28-Sep-2026 07:01:49 UTC] POST data: Array
(
)

[28-Sep-2026 07:01:49 UTC] Current school_id: 3
[28-Sep-2026 07:01:49 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:01:49 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:01:49 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:01:49 UTC] Found 6 classes
[28-Sep-2026 07:01:49 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 07:01:49 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:01:49 UTC] Found 2 teachers
[28-Sep-2026 07:01:49 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 07:02:27 UTC] Request method: GET
[28-Sep-2026 07:02:27 UTC] POST data: Array
(
)

[28-Sep-2026 07:02:27 UTC] Current school_id: 3
[28-Sep-2026 07:02:27 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:02:27 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:02:27 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:02:27 UTC] Found 6 classes
[28-Sep-2026 07:02:27 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 07:02:27 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:02:27 UTC] Found 2 teachers
[28-Sep-2026 07:02:27 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 07:02:41 UTC] Request method: GET
[28-Sep-2026 07:02:41 UTC] POST data: Array
(
)

[28-Sep-2026 07:02:41 UTC] Current school_id: 3
[28-Sep-2026 07:02:41 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:02:41 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:02:41 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:02:41 UTC] Found 6 classes
[28-Sep-2026 07:02:41 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 07:02:41 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:02:41 UTC] Found 2 teachers
[28-Sep-2026 07:02:41 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 07:05:04 UTC] Request method: GET
[28-Sep-2026 07:05:04 UTC] POST data: Array
(
)

[28-Sep-2026 07:05:04 UTC] Current school_id: 3
[28-Sep-2026 07:05:04 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:05:04 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:05:04 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:05:04 UTC] Found 6 classes
[28-Sep-2026 07:05:04 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 07:05:04 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:05:04 UTC] Found 2 teachers
[28-Sep-2026 07:05:04 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 07:06:44 UTC] Request method: GET
[28-Sep-2026 07:06:44 UTC] POST data: Array
(
)

[28-Sep-2026 07:06:44 UTC] Current school_id: 3
[28-Sep-2026 07:06:44 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:06:44 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:06:44 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:06:44 UTC] Found 6 classes
[28-Sep-2026 07:06:44 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 07:06:44 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:06:44 UTC] Found 2 teachers
[28-Sep-2026 07:06:44 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 07:19:46 UTC] Request method: GET
[28-Sep-2026 07:19:46 UTC] POST data: Array
(
)

[28-Sep-2026 07:19:46 UTC] Current school_id: 3
[28-Sep-2026 07:19:46 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:19:46 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:19:46 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:19:46 UTC] Found 6 classes
[28-Sep-2026 07:19:46 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 07:19:46 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:19:46 UTC] Found 2 teachers
[28-Sep-2026 07:19:46 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 07:20:02 UTC] Request method: GET
[28-Sep-2026 07:20:02 UTC] POST data: Array
(
)

[28-Sep-2026 07:20:02 UTC] Current school_id: 3
[28-Sep-2026 07:20:02 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:20:02 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:20:02 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:20:02 UTC] Found 6 classes
[28-Sep-2026 07:20:02 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 07:20:02 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:20:02 UTC] Found 2 teachers
[28-Sep-2026 07:20:02 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 07:21:05 UTC] Request method: GET
[28-Sep-2026 07:21:05 UTC] POST data: Array
(
)

[28-Sep-2026 07:21:05 UTC] Current school_id: 3
[28-Sep-2026 07:21:05 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:21:05 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:21:05 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:21:05 UTC] Found 6 classes
[28-Sep-2026 07:21:05 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 31
            [name] => class 3
            [position] => 3
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [4] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [5] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 07:21:05 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:21:05 UTC] Found 2 teachers
[28-Sep-2026 07:21:05 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 31
            [class_name] => class 3
            [position] => 3
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [4] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [5] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 07:22:31 UTC] Request method: POST
[28-Sep-2026 07:22:31 UTC] POST data: Array
(
    [action] => add_class
    [school_id] => 3
    [name] => Class 3
)

[28-Sep-2026 07:22:31 UTC] Current school_id: 3
[28-Sep-2026 07:22:31 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:22:31 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:22:31 UTC] Class add/update - School ID: 3, Name: Class 3, Action: add_class
[28-Sep-2026 07:22:31 UTC] Adding class - Position: 7, School ID: 3
[28-Sep-2026 07:22:31 UTC] Class added successfully: Class 3
[28-Sep-2026 07:22:31 UTC] Request method: GET
[28-Sep-2026 07:22:31 UTC] POST data: Array
(
)

[28-Sep-2026 07:22:31 UTC] Current school_id: 3
[28-Sep-2026 07:22:31 UTC] GET parameters: Array
(
    [school_id] => 3
    [success] => added
)

[28-Sep-2026 07:22:31 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:22:31 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:22:31 UTC] Found 6 classes
[28-Sep-2026 07:22:31 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 31
            [name] => 0
            [position] => 7
            [background_logo] => 
        )

)

[28-Sep-2026 07:22:31 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:22:31 UTC] Found 2 teachers
[28-Sep-2026 07:22:31 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 31
            [class_name] => 0
            [position] => 7
            [teacher_name] => 
        )

)

[28-Sep-2026 07:22:38 UTC] Request method: GET
[28-Sep-2026 07:22:38 UTC] POST data: Array
(
)

[28-Sep-2026 07:22:38 UTC] Current school_id: 3
[28-Sep-2026 07:22:38 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:22:38 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:22:38 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:22:38 UTC] Found 6 classes
[28-Sep-2026 07:22:38 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 31
            [name] => 0
            [position] => 7
            [background_logo] => 
        )

)

[28-Sep-2026 07:22:38 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:22:38 UTC] Found 2 teachers
[28-Sep-2026 07:22:38 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 31
            [class_name] => 0
            [position] => 7
            [teacher_name] => 
        )

)

[28-Sep-2026 07:22:44 UTC] Request method: GET
[28-Sep-2026 07:22:44 UTC] POST data: Array
(
)

[28-Sep-2026 07:22:44 UTC] Current school_id: 3
[28-Sep-2026 07:22:44 UTC] GET parameters: Array
(
    [school_id] => 3
    [success] => added
)

[28-Sep-2026 07:22:44 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:22:44 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:22:44 UTC] Found 6 classes
[28-Sep-2026 07:22:44 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 31
            [name] => 0
            [position] => 7
            [background_logo] => 
        )

)

[28-Sep-2026 07:22:44 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:22:44 UTC] Found 2 teachers
[28-Sep-2026 07:22:44 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 31
            [class_name] => 0
            [position] => 7
            [teacher_name] => 
        )

)

[28-Sep-2026 07:23:00 UTC] Request method: GET
[28-Sep-2026 07:23:00 UTC] POST data: Array
(
)

[28-Sep-2026 07:23:00 UTC] Current school_id: 3
[28-Sep-2026 07:23:00 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:23:00 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:23:00 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:23:00 UTC] Found 6 classes
[28-Sep-2026 07:23:00 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 31
            [name] => 0
            [position] => 7
            [background_logo] => 
        )

)

[28-Sep-2026 07:23:00 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:23:00 UTC] Found 2 teachers
[28-Sep-2026 07:23:00 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 31
            [class_name] => 0
            [position] => 7
            [teacher_name] => 
        )

)

[28-Sep-2026 07:26:10 UTC] Request method: GET
[28-Sep-2026 07:26:10 UTC] POST data: Array
(
)

[28-Sep-2026 07:26:10 UTC] Current school_id: 3
[28-Sep-2026 07:26:10 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:26:10 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:26:10 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:26:10 UTC] Found 6 classes
[28-Sep-2026 07:26:10 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 31
            [name] => 0
            [position] => 7
            [background_logo] => 
        )

)

[28-Sep-2026 07:26:10 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:26:10 UTC] Found 2 teachers
[28-Sep-2026 07:26:10 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 31
            [class_name] => 0
            [position] => 7
            [teacher_name] => 
        )

)

[28-Sep-2026 07:26:11 UTC] Request method: POST
[28-Sep-2026 07:26:11 UTC] POST data: Array
(
    [action] => add_class
    [school_id] => 3
    [name] => Class 3
)

[28-Sep-2026 07:26:11 UTC] Current school_id: 3
[28-Sep-2026 07:26:11 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:26:11 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:26:11 UTC] Class add/update - School ID: 3, Name: Class 3, Action: add_class
[28-Sep-2026 07:26:11 UTC] Adding class - Position: 8, School ID: 3
[28-Sep-2026 07:26:11 UTC] Class added successfully: Class 3
[28-Sep-2026 07:26:12 UTC] Request method: GET
[28-Sep-2026 07:26:12 UTC] POST data: Array
(
)

[28-Sep-2026 07:26:12 UTC] Current school_id: 3
[28-Sep-2026 07:26:12 UTC] GET parameters: Array
(
    [school_id] => 3
    [success] => added
)

[28-Sep-2026 07:26:12 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:26:12 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:26:12 UTC] Found 7 classes
[28-Sep-2026 07:26:12 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 31
            [name] => 0
            [position] => 7
            [background_logo] => 
        )

    [6] => Array
        (
            [id] => 36
            [name] => Class 3
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 07:26:12 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:26:12 UTC] Found 2 teachers
[28-Sep-2026 07:26:12 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 31
            [class_name] => 0
            [position] => 7
            [teacher_name] => 
        )

    [6] => Array
        (
            [class_id] => 36
            [class_name] => Class 3
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 07:26:22 UTC] Request method: POST
[28-Sep-2026 07:26:22 UTC] POST data: Array
(
    [action] => add_class
    [school_id] => 3
    [name] => Class 4th
)

[28-Sep-2026 07:26:22 UTC] Current school_id: 3
[28-Sep-2026 07:26:22 UTC] GET parameters: Array
(
    [school_id] => 3
    [success] => added
)

[28-Sep-2026 07:26:22 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:26:22 UTC] Class add/update - School ID: 3, Name: Class 4th, Action: add_class
[28-Sep-2026 07:26:22 UTC] Adding class - Position: 9, School ID: 3
[28-Sep-2026 07:26:22 UTC] Class added successfully: Class 4th
[28-Sep-2026 07:26:22 UTC] Request method: GET
[28-Sep-2026 07:26:22 UTC] POST data: Array
(
)

[28-Sep-2026 07:26:22 UTC] Current school_id: 3
[28-Sep-2026 07:26:22 UTC] GET parameters: Array
(
    [school_id] => 3
    [success] => added
)

[28-Sep-2026 07:26:22 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:26:22 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:26:22 UTC] Found 8 classes
[28-Sep-2026 07:26:22 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 31
            [name] => 0
            [position] => 7
            [background_logo] => 
        )

    [6] => Array
        (
            [id] => 36
            [name] => Class 3
            [position] => 8
            [background_logo] => 
        )

    [7] => Array
        (
            [id] => 37
            [name] => Class 4th
            [position] => 9
            [background_logo] => 
        )

)

[28-Sep-2026 07:26:22 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:26:22 UTC] Found 2 teachers
[28-Sep-2026 07:26:22 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 31
            [class_name] => 0
            [position] => 7
            [teacher_name] => 
        )

    [6] => Array
        (
            [class_id] => 36
            [class_name] => Class 3
            [position] => 8
            [teacher_name] => 
        )

    [7] => Array
        (
            [class_id] => 37
            [class_name] => Class 4th
            [position] => 9
            [teacher_name] => 
        )

)

[28-Sep-2026 07:26:34 UTC] Request method: GET
[28-Sep-2026 07:26:34 UTC] POST data: Array
(
)

[28-Sep-2026 07:26:34 UTC] Current school_id: 3
[28-Sep-2026 07:26:34 UTC] GET parameters: Array
(
    [delete] => 36
    [school_id] => 3
)

[28-Sep-2026 07:26:34 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:26:44 UTC] Request method: GET
[28-Sep-2026 07:26:44 UTC] POST data: Array
(
)

[28-Sep-2026 07:26:44 UTC] Current school_id: 3
[28-Sep-2026 07:26:44 UTC] GET parameters: Array
(
    [delete] => 37
    [school_id] => 3
)

[28-Sep-2026 07:26:44 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:27:02 UTC] Request method: GET
[28-Sep-2026 07:27:02 UTC] POST data: Array
(
)

[28-Sep-2026 07:27:02 UTC] Current school_id: 3
[28-Sep-2026 07:27:02 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:27:02 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:27:02 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:27:02 UTC] Found 6 classes
[28-Sep-2026 07:27:02 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 31
            [name] => 0
            [position] => 7
            [background_logo] => 
        )

)

[28-Sep-2026 07:27:02 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:27:02 UTC] Found 2 teachers
[28-Sep-2026 07:27:02 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 31
            [class_name] => 0
            [position] => 7
            [teacher_name] => 
        )

)

[28-Sep-2026 07:27:18 UTC] Request method: GET
[28-Sep-2026 07:27:18 UTC] POST data: Array
(
)

[28-Sep-2026 07:27:18 UTC] Current school_id: 3
[28-Sep-2026 07:27:18 UTC] GET parameters: Array
(
    [delete] => 31
    [school_id] => 3
)

[28-Sep-2026 07:27:18 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:27:20 UTC] Request method: GET
[28-Sep-2026 07:27:20 UTC] POST data: Array
(
)

[28-Sep-2026 07:27:20 UTC] Current school_id: 3
[28-Sep-2026 07:27:20 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:27:20 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:27:20 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:27:20 UTC] Found 5 classes
[28-Sep-2026 07:27:20 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

)

[28-Sep-2026 07:27:20 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:27:20 UTC] Found 2 teachers
[28-Sep-2026 07:27:20 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

)

[28-Sep-2026 07:27:38 UTC] Request method: POST
[28-Sep-2026 07:27:38 UTC] POST data: Array
(
    [action] => add_class
    [school_id] => 3
    [name] => Class 3
)

[28-Sep-2026 07:27:38 UTC] Current school_id: 3
[28-Sep-2026 07:27:38 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:27:38 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:27:38 UTC] Class add/update - School ID: 3, Name: Class 3, Action: add_class
[28-Sep-2026 07:27:38 UTC] Adding class - Position: 7, School ID: 3
[28-Sep-2026 07:27:38 UTC] Class added successfully: Class 3
[28-Sep-2026 07:27:39 UTC] Request method: GET
[28-Sep-2026 07:27:39 UTC] POST data: Array
(
)

[28-Sep-2026 07:27:39 UTC] Current school_id: 3
[28-Sep-2026 07:27:39 UTC] GET parameters: Array
(
    [school_id] => 3
    [success] => added
)

[28-Sep-2026 07:27:39 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:27:39 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:27:39 UTC] Found 6 classes
[28-Sep-2026 07:27:39 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => Class 3
            [position] => 7
            [background_logo] => 
        )

)

[28-Sep-2026 07:27:39 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:27:39 UTC] Found 2 teachers
[28-Sep-2026 07:27:39 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => Class 3
            [position] => 7
            [teacher_name] => 
        )

)

[28-Sep-2026 07:27:39 UTC] Request method: POST
[28-Sep-2026 07:27:39 UTC] POST data: Array
(
    [action] => add_class
    [school_id] => 3
    [name] => Class 3
)

[28-Sep-2026 07:27:39 UTC] Current school_id: 3
[28-Sep-2026 07:27:39 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:27:39 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:27:39 UTC] Class add/update - School ID: 3, Name: Class 3, Action: add_class
[28-Sep-2026 07:27:39 UTC] Adding class - Position: 8, School ID: 3
[28-Sep-2026 07:27:39 UTC] Class added successfully: Class 3
[28-Sep-2026 07:27:40 UTC] Request method: GET
[28-Sep-2026 07:27:40 UTC] POST data: Array
(
)

[28-Sep-2026 07:27:40 UTC] Current school_id: 3
[28-Sep-2026 07:27:40 UTC] GET parameters: Array
(
    [school_id] => 3
    [success] => added
)

[28-Sep-2026 07:27:40 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:27:40 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:27:40 UTC] Found 6 classes
[28-Sep-2026 07:27:40 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 07:27:40 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:27:40 UTC] Found 2 teachers
[28-Sep-2026 07:27:40 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 07:28:38 UTC] Request method: GET
[28-Sep-2026 07:28:38 UTC] POST data: Array
(
)

[28-Sep-2026 07:28:38 UTC] Current school_id: 3
[28-Sep-2026 07:28:38 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:28:38 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:28:38 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:28:38 UTC] Found 6 classes
[28-Sep-2026 07:28:38 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 07:28:38 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:28:38 UTC] Found 2 teachers
[28-Sep-2026 07:28:38 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 07:28:47 UTC] Request method: GET
[28-Sep-2026 07:28:47 UTC] POST data: Array
(
)

[28-Sep-2026 07:28:47 UTC] Current school_id: 3
[28-Sep-2026 07:28:47 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:28:47 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:28:47 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:28:47 UTC] Found 6 classes
[28-Sep-2026 07:28:47 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 07:28:47 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:28:47 UTC] Found 2 teachers
[28-Sep-2026 07:28:47 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 07:29:14 UTC] Request method: GET
[28-Sep-2026 07:29:14 UTC] POST data: Array
(
)

[28-Sep-2026 07:29:14 UTC] Current school_id: 3
[28-Sep-2026 07:29:14 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:29:14 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:29:14 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:29:14 UTC] Found 6 classes
[28-Sep-2026 07:29:14 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 07:29:14 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:29:14 UTC] Found 2 teachers
[28-Sep-2026 07:29:14 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 07:29:54 UTC] Request method: GET
[28-Sep-2026 07:29:54 UTC] POST data: Array
(
)

[28-Sep-2026 07:29:54 UTC] Current school_id: 3
[28-Sep-2026 07:29:54 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:29:54 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:29:54 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:29:54 UTC] Found 6 classes
[28-Sep-2026 07:29:54 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 07:29:54 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:29:54 UTC] Found 2 teachers
[28-Sep-2026 07:29:54 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 07:38:20 UTC] Request method: GET
[28-Sep-2026 07:38:20 UTC] POST data: Array
(
)

[28-Sep-2026 07:38:20 UTC] Current school_id: 3
[28-Sep-2026 07:38:20 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:38:20 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:38:20 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:38:20 UTC] Found 6 classes
[28-Sep-2026 07:38:20 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 07:38:20 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:38:20 UTC] Found 2 teachers
[28-Sep-2026 07:38:20 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 07:38:56 UTC] Request method: GET
[28-Sep-2026 07:38:56 UTC] POST data: Array
(
)

[28-Sep-2026 07:38:56 UTC] Current school_id: 3
[28-Sep-2026 07:38:56 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:38:56 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:38:56 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:38:56 UTC] Found 6 classes
[28-Sep-2026 07:38:56 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 07:38:56 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:38:56 UTC] Found 2 teachers
[28-Sep-2026 07:38:56 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 07:39:41 UTC] Request method: GET
[28-Sep-2026 07:39:41 UTC] POST data: Array
(
)

[28-Sep-2026 07:39:41 UTC] Current school_id: 3
[28-Sep-2026 07:39:41 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:39:41 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:39:41 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:39:41 UTC] Found 6 classes
[28-Sep-2026 07:39:41 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 07:39:41 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:39:41 UTC] Found 2 teachers
[28-Sep-2026 07:39:41 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 07:44:37 UTC] Request method: GET
[28-Sep-2026 07:44:37 UTC] POST data: Array
(
)

[28-Sep-2026 07:44:37 UTC] Current school_id: 3
[28-Sep-2026 07:44:37 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:44:37 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:44:37 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:44:37 UTC] Found 6 classes
[28-Sep-2026 07:44:37 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 07:44:37 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:44:37 UTC] Found 2 teachers
[28-Sep-2026 07:44:37 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 07:44:52 UTC] Request method: GET
[28-Sep-2026 07:44:52 UTC] POST data: Array
(
)

[28-Sep-2026 07:44:52 UTC] Current school_id: 3
[28-Sep-2026 07:44:52 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:44:52 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:44:52 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:44:52 UTC] Found 6 classes
[28-Sep-2026 07:44:52 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 07:44:52 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:44:52 UTC] Found 2 teachers
[28-Sep-2026 07:44:52 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 07:53:32 UTC] Request method: GET
[28-Sep-2026 07:53:32 UTC] POST data: Array
(
)

[28-Sep-2026 07:53:32 UTC] Current school_id: 3
[28-Sep-2026 07:53:32 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 07:53:32 UTC] SESSION current_school_id: 3
[28-Sep-2026 07:53:32 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 07:53:32 UTC] Found 6 classes
[28-Sep-2026 07:53:32 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 07:53:32 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 07:53:32 UTC] Found 2 teachers
[28-Sep-2026 07:53:32 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 08:04:18 UTC] Request method: GET
[28-Sep-2026 08:04:18 UTC] POST data: Array
(
)

[28-Sep-2026 08:04:18 UTC] Current school_id: 3
[28-Sep-2026 08:04:18 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 08:04:18 UTC] SESSION current_school_id: 3
[28-Sep-2026 08:04:18 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 08:04:18 UTC] Found 6 classes
[28-Sep-2026 08:04:18 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 08:04:18 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 08:04:18 UTC] Found 2 teachers
[28-Sep-2026 08:04:18 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 08:10:37 UTC] Request method: GET
[28-Sep-2026 08:10:37 UTC] POST data: Array
(
)

[28-Sep-2026 08:10:37 UTC] Current school_id: 3
[28-Sep-2026 08:10:37 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 08:10:37 UTC] SESSION current_school_id: 3
[28-Sep-2026 08:10:37 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 08:10:37 UTC] Found 6 classes
[28-Sep-2026 08:10:37 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 08:10:37 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 08:10:37 UTC] Found 2 teachers
[28-Sep-2026 08:10:37 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 11:39:05 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 11:39:05 UTC] No term selected, finding default term
[28-Sep-2026 11:39:05 UTC] Using latest term: term_id=6
[28-Sep-2026 11:39:40 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[28-Sep-2026 11:39:40 UTC] No term selected, finding default term
[28-Sep-2026 11:39:40 UTC] Using latest term: term_id=6
[28-Sep-2026 11:39:56 UTC] Request method: GET
[28-Sep-2026 11:39:56 UTC] POST data: Array
(
)

[28-Sep-2026 11:39:56 UTC] Current school_id: 3
[28-Sep-2026 11:39:56 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 11:39:56 UTC] SESSION current_school_id: 3
[28-Sep-2026 11:39:56 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 11:39:56 UTC] Found 6 classes
[28-Sep-2026 11:39:56 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 11:39:56 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 11:39:56 UTC] Found 2 teachers
[28-Sep-2026 11:39:56 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 12:53:32 UTC] Request method: GET
[28-Sep-2026 12:53:32 UTC] POST data: Array
(
)

[28-Sep-2026 12:53:32 UTC] Current school_id: 3
[28-Sep-2026 12:53:32 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 12:53:32 UTC] SESSION current_school_id: 3
[28-Sep-2026 12:53:32 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 12:53:32 UTC] Found 6 classes
[28-Sep-2026 12:53:32 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 12:53:32 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 12:53:32 UTC] Found 2 teachers
[28-Sep-2026 12:53:32 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 14:30:04 UTC] Request method: GET
[28-Sep-2026 14:30:04 UTC] POST data: Array
(
)

[28-Sep-2026 14:30:04 UTC] Current school_id: 3
[28-Sep-2026 14:30:04 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 14:30:04 UTC] SESSION current_school_id: 3
[28-Sep-2026 14:30:04 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 14:30:04 UTC] Found 6 classes
[28-Sep-2026 14:30:04 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

)

[28-Sep-2026 14:30:04 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 14:30:04 UTC] Found 2 teachers
[28-Sep-2026 14:30:04 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

)

[28-Sep-2026 14:30:14 UTC] Request method: POST
[28-Sep-2026 14:30:14 UTC] POST data: Array
(
    [action] => add_class
    [school_id] => 3
    [name] => Class 3
)

[28-Sep-2026 14:30:14 UTC] Current school_id: 3
[28-Sep-2026 14:30:14 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 14:30:14 UTC] SESSION current_school_id: 3
[28-Sep-2026 14:30:14 UTC] Class add/update - School ID: 3, Name: Class 3, Action: add_class
[28-Sep-2026 14:30:14 UTC] Adding class - Position: 9, School ID: 3
[28-Sep-2026 14:30:14 UTC] Class added successfully: Class 3
[28-Sep-2026 14:30:14 UTC] Request method: GET
[28-Sep-2026 14:30:14 UTC] POST data: Array
(
)

[28-Sep-2026 14:30:14 UTC] Current school_id: 3
[28-Sep-2026 14:30:14 UTC] GET parameters: Array
(
    [school_id] => 3
    [success] => added
)

[28-Sep-2026 14:30:14 UTC] SESSION current_school_id: 3
[28-Sep-2026 14:30:14 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 14:30:14 UTC] Found 7 classes
[28-Sep-2026 14:30:14 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 38
            [name] => 0
            [position] => 8
            [background_logo] => 
        )

    [6] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[28-Sep-2026 14:30:14 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 14:30:14 UTC] Found 2 teachers
[28-Sep-2026 14:30:14 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 38
            [class_name] => 0
            [position] => 8
            [teacher_name] => 
        )

    [6] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[28-Sep-2026 14:30:25 UTC] Request method: GET
[28-Sep-2026 14:30:25 UTC] POST data: Array
(
)

[28-Sep-2026 14:30:25 UTC] Current school_id: 3
[28-Sep-2026 14:30:25 UTC] GET parameters: Array
(
    [delete] => 38
    [school_id] => 3
)

[28-Sep-2026 14:30:25 UTC] SESSION current_school_id: 3
[28-Sep-2026 14:30:26 UTC] Request method: GET
[28-Sep-2026 14:30:26 UTC] POST data: Array
(
)

[28-Sep-2026 14:30:26 UTC] Current school_id: 3
[28-Sep-2026 14:30:26 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 14:30:26 UTC] SESSION current_school_id: 3
[28-Sep-2026 14:30:26 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 14:30:26 UTC] Found 6 classes
[28-Sep-2026 14:30:26 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[28-Sep-2026 14:30:26 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 14:30:26 UTC] Found 2 teachers
[28-Sep-2026 14:30:26 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[28-Sep-2026 14:30:42 UTC] Request method: GET
[28-Sep-2026 14:30:42 UTC] POST data: Array
(
)

[28-Sep-2026 14:30:42 UTC] Current school_id: 3
[28-Sep-2026 14:30:42 UTC] GET parameters: Array
(
    [school_id] => 3
)

[28-Sep-2026 14:30:42 UTC] SESSION current_school_id: 3
[28-Sep-2026 14:30:42 UTC] Fetching classes with filter: WHERE school_id = 3
[28-Sep-2026 14:30:42 UTC] Found 6 classes
[28-Sep-2026 14:30:42 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[28-Sep-2026 14:30:42 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[28-Sep-2026 14:30:42 UTC] Found 2 teachers
[28-Sep-2026 14:30:42 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[28-Sep-2026 14:37:21 UTC] Bulk import: class_id=40, school_id=3, class_name=Class 3, total_students=19
[28-Sep-2026 14:37:21 UTC] Processing student #1: MUHAMMAD JUNAID
[28-Sep-2026 14:37:21 UTC] Imported student #1: MUHAMMAD JUNAID (roll_no: 1)
[28-Sep-2026 14:37:21 UTC] Processing student #2: MUHAMMAD JUNAID
[28-Sep-2026 14:37:21 UTC] Imported student #2: MUHAMMAD JUNAID (roll_no: 2)
[28-Sep-2026 14:37:21 UTC] Processing student #3: LAIBA BIBI
[28-Sep-2026 14:37:21 UTC] Imported student #3: LAIBA BIBI (roll_no: 3)
[28-Sep-2026 14:37:21 UTC] Processing student #4: MUHAMMAD HAMMAD
[28-Sep-2026 14:37:21 UTC] Imported student #4: MUHAMMAD HAMMAD (roll_no: 4)
[28-Sep-2026 14:37:21 UTC] Processing student #5: MAHNOR BIBI
[28-Sep-2026 14:37:21 UTC] Imported student #5: MAHNOR BIBI (roll_no: 5)
[28-Sep-2026 14:37:21 UTC] Processing student #6: KHADIJA BIBI
[28-Sep-2026 14:37:21 UTC] Imported student #6: KHADIJA BIBI (roll_no: 6)
[28-Sep-2026 14:37:21 UTC] Processing student #7: DILL AWAIZ BIBI
[28-Sep-2026 14:37:21 UTC] Imported student #7: DILL AWAIZ BIBI (roll_no: 7)
[28-Sep-2026 14:37:21 UTC] Processing student #8: MUHAMMAD SHAHZAIB HASSAN
[28-Sep-2026 14:37:21 UTC] Imported student #8: MUHAMMAD SHAHZAIB HASSAN (roll_no: 8)
[28-Sep-2026 14:37:21 UTC] Processing student #9: SASI BIBI
[28-Sep-2026 14:37:21 UTC] Imported student #9: SASI BIBI (roll_no: 9)
[28-Sep-2026 14:37:21 UTC] Processing student #10: ALIYA BIBI
[28-Sep-2026 14:37:21 UTC] Imported student #10: ALIYA BIBI (roll_no: 10)
[28-Sep-2026 14:37:21 UTC] Processing student #11: ZHARA BIBI
[28-Sep-2026 14:37:21 UTC] Imported student #11: ZHARA BIBI (roll_no: 11)
[28-Sep-2026 14:37:21 UTC] Processing student #12: OMAISA BIBI
[28-Sep-2026 14:37:21 UTC] Imported student #12: OMAISA BIBI (roll_no: 12)
[28-Sep-2026 14:37:21 UTC] Processing student #13: SAIRA BIBI
[28-Sep-2026 14:37:21 UTC] Imported student #13: SAIRA BIBI (roll_no: 13)
[28-Sep-2026 14:37:21 UTC] Processing student #14: FATIMA BIBI
[28-Sep-2026 14:37:21 UTC] Imported student #14: FATIMA BIBI (roll_no: 14)
[28-Sep-2026 14:37:21 UTC] Processing student #15: DUA FATIMA
[28-Sep-2026 14:37:21 UTC] Imported student #15: DUA FATIMA (roll_no: 15)
[28-Sep-2026 14:37:21 UTC] Processing student #16: FAHAD ALI
[28-Sep-2026 14:37:21 UTC] Imported student #16: FAHAD ALI (roll_no: 16)
[28-Sep-2026 14:37:21 UTC] Processing student #17: ZAINAB BIBI
[28-Sep-2026 14:37:21 UTC] Imported student #17: ZAINAB BIBI (roll_no: 17)
[28-Sep-2026 14:37:21 UTC] Processing student #18: LARIAB BIBI
[28-Sep-2026 14:37:21 UTC] Imported student #18: LARIAB BIBI (roll_no: 18)
[28-Sep-2026 14:37:21 UTC] Processing student #19: TAIBA BIBI
[28-Sep-2026 14:37:21 UTC] Imported student #19: TAIBA BIBI (roll_no: 19)
[28-Sep-2026 14:37:21 UTC] Import complete: total_students=19, imported=19, updated_count=0, errors=0
[29-Sep-2026 02:05:07 UTC] Request method: GET
[29-Sep-2026 02:05:07 UTC] POST data: Array
(
)

[29-Sep-2026 02:05:07 UTC] Current school_id: 3
[29-Sep-2026 02:05:07 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 02:05:07 UTC] SESSION current_school_id: 3
[29-Sep-2026 02:05:07 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 02:05:07 UTC] Found 6 classes
[29-Sep-2026 02:05:07 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 02:05:07 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 02:05:07 UTC] Found 2 teachers
[29-Sep-2026 02:05:07 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 04:06:04 UTC] Request method: GET
[29-Sep-2026 04:06:04 UTC] POST data: Array
(
)

[29-Sep-2026 04:06:04 UTC] Current school_id: 3
[29-Sep-2026 04:06:04 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 04:06:04 UTC] SESSION current_school_id: 3
[29-Sep-2026 04:06:04 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 04:06:04 UTC] Found 6 classes
[29-Sep-2026 04:06:04 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 04:06:04 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 04:06:04 UTC] Found 2 teachers
[29-Sep-2026 04:06:04 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 04:22:09 UTC] Request method: GET
[29-Sep-2026 04:22:09 UTC] POST data: Array
(
)

[29-Sep-2026 04:22:09 UTC] Current school_id: 3
[29-Sep-2026 04:22:09 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 04:22:09 UTC] SESSION current_school_id: 3
[29-Sep-2026 04:22:09 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 04:22:09 UTC] Found 6 classes
[29-Sep-2026 04:22:09 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 04:22:09 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 04:22:09 UTC] Found 2 teachers
[29-Sep-2026 04:22:09 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 04:23:59 UTC] Request method: GET
[29-Sep-2026 04:23:59 UTC] POST data: Array
(
)

[29-Sep-2026 04:23:59 UTC] Current school_id: 3
[29-Sep-2026 04:23:59 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 04:23:59 UTC] SESSION current_school_id: 3
[29-Sep-2026 04:23:59 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 04:23:59 UTC] Found 6 classes
[29-Sep-2026 04:23:59 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 04:23:59 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 04:23:59 UTC] Found 2 teachers
[29-Sep-2026 04:23:59 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 04:37:29 UTC] Request method: GET
[29-Sep-2026 04:37:29 UTC] POST data: Array
(
)

[29-Sep-2026 04:37:29 UTC] Current school_id: 3
[29-Sep-2026 04:37:29 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 04:37:29 UTC] SESSION current_school_id: 3
[29-Sep-2026 04:37:29 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 04:37:29 UTC] Found 6 classes
[29-Sep-2026 04:37:29 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 04:37:29 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 04:37:29 UTC] Found 2 teachers
[29-Sep-2026 04:37:29 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 04:44:58 UTC] Request method: GET
[29-Sep-2026 04:44:58 UTC] POST data: Array
(
)

[29-Sep-2026 04:44:58 UTC] Current school_id: 3
[29-Sep-2026 04:44:58 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 04:44:58 UTC] SESSION current_school_id: 3
[29-Sep-2026 04:44:58 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 04:44:58 UTC] Found 6 classes
[29-Sep-2026 04:44:58 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 04:44:58 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 04:44:58 UTC] Found 2 teachers
[29-Sep-2026 04:44:58 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 04:45:30 UTC] Request method: GET
[29-Sep-2026 04:45:30 UTC] POST data: Array
(
)

[29-Sep-2026 04:45:30 UTC] Current school_id: 3
[29-Sep-2026 04:45:30 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 04:45:30 UTC] SESSION current_school_id: 3
[29-Sep-2026 04:45:30 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 04:45:30 UTC] Found 6 classes
[29-Sep-2026 04:45:30 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 04:45:30 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 04:45:30 UTC] Found 2 teachers
[29-Sep-2026 04:45:30 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 04:47:27 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '30-3' for key 'uniq_class_roll' in /home2/khuzdart/public_html/att/admin/students.php:270
Stack trace:
#0 /home2/khuzdart/public_html/att/admin/students.php(270): mysqli_stmt->execute()
#1 {main}
  thrown in /home2/khuzdart/public_html/att/admin/students.php on line 270
[29-Sep-2026 11:40:03 UTC] Request method: GET
[29-Sep-2026 11:40:03 UTC] POST data: Array
(
)

[29-Sep-2026 11:40:03 UTC] Current school_id: 3
[29-Sep-2026 11:40:03 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 11:40:03 UTC] SESSION current_school_id: 3
[29-Sep-2026 11:40:03 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 11:40:03 UTC] Found 6 classes
[29-Sep-2026 11:40:03 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 11:40:03 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 11:40:03 UTC] Found 2 teachers
[29-Sep-2026 11:40:03 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 11:41:28 UTC] Request method: GET
[29-Sep-2026 11:41:28 UTC] POST data: Array
(
)

[29-Sep-2026 11:41:28 UTC] Current school_id: 3
[29-Sep-2026 11:41:28 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 11:41:28 UTC] SESSION current_school_id: 3
[29-Sep-2026 11:41:28 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 11:41:28 UTC] Found 6 classes
[29-Sep-2026 11:41:28 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 11:41:28 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 11:41:28 UTC] Found 2 teachers
[29-Sep-2026 11:41:28 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 11:41:32 UTC] Request method: GET
[29-Sep-2026 11:41:32 UTC] POST data: Array
(
)

[29-Sep-2026 11:41:32 UTC] Current school_id: 3
[29-Sep-2026 11:41:32 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 11:41:32 UTC] SESSION current_school_id: 3
[29-Sep-2026 11:41:32 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 11:41:32 UTC] Found 6 classes
[29-Sep-2026 11:41:32 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 11:41:32 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 11:41:32 UTC] Found 2 teachers
[29-Sep-2026 11:41:32 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 12:27:39 UTC] Request method: GET
[29-Sep-2026 12:27:39 UTC] POST data: Array
(
)

[29-Sep-2026 12:27:39 UTC] Current school_id: 3
[29-Sep-2026 12:27:39 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 12:27:39 UTC] SESSION current_school_id: 3
[29-Sep-2026 12:27:39 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 12:27:39 UTC] Found 6 classes
[29-Sep-2026 12:27:39 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 12:27:39 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 12:27:39 UTC] Found 2 teachers
[29-Sep-2026 12:27:39 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 12:38:18 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '40-2' for key 'uniq_class_roll' in /home2/khuzdart/public_html/att/admin/students.php:270
Stack trace:
#0 /home2/khuzdart/public_html/att/admin/students.php(270): mysqli_stmt->execute()
#1 {main}
  thrown in /home2/khuzdart/public_html/att/admin/students.php on line 270
[29-Sep-2026 12:38:25 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '40-2' for key 'uniq_class_roll' in /home2/khuzdart/public_html/att/admin/students.php:270
Stack trace:
#0 /home2/khuzdart/public_html/att/admin/students.php(270): mysqli_stmt->execute()
#1 {main}
  thrown in /home2/khuzdart/public_html/att/admin/students.php on line 270
[29-Sep-2026 12:38:31 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '40-2' for key 'uniq_class_roll' in /home2/khuzdart/public_html/att/admin/students.php:270
Stack trace:
#0 /home2/khuzdart/public_html/att/admin/students.php(270): mysqli_stmt->execute()
#1 {main}
  thrown in /home2/khuzdart/public_html/att/admin/students.php on line 270
[29-Sep-2026 12:38:52 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '40-2' for key 'uniq_class_roll' in /home2/khuzdart/public_html/att/admin/students.php:270
Stack trace:
#0 /home2/khuzdart/public_html/att/admin/students.php(270): mysqli_stmt->execute()
#1 {main}
  thrown in /home2/khuzdart/public_html/att/admin/students.php on line 270
[29-Sep-2026 15:16:49 UTC] Request method: GET
[29-Sep-2026 15:16:49 UTC] POST data: Array
(
)

[29-Sep-2026 15:16:49 UTC] Current school_id: 3
[29-Sep-2026 15:16:49 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 15:16:49 UTC] SESSION current_school_id: 3
[29-Sep-2026 15:16:49 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 15:16:49 UTC] Found 6 classes
[29-Sep-2026 15:16:49 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 15:16:49 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 15:16:49 UTC] Found 2 teachers
[29-Sep-2026 15:16:49 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 15:17:56 UTC] Request method: GET
[29-Sep-2026 15:17:56 UTC] POST data: Array
(
)

[29-Sep-2026 15:17:56 UTC] Current school_id: 3
[29-Sep-2026 15:17:56 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 15:17:56 UTC] SESSION current_school_id: 3
[29-Sep-2026 15:17:56 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 15:17:56 UTC] Found 6 classes
[29-Sep-2026 15:17:56 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 15:17:56 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 15:17:56 UTC] Found 2 teachers
[29-Sep-2026 15:17:56 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 15:58:27 UTC] Request method: GET
[29-Sep-2026 15:58:27 UTC] POST data: Array
(
)

[29-Sep-2026 15:58:27 UTC] Current school_id: 3
[29-Sep-2026 15:58:27 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 15:58:27 UTC] SESSION current_school_id: 3
[29-Sep-2026 15:58:27 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 15:58:27 UTC] Found 6 classes
[29-Sep-2026 15:58:27 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 15:58:27 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 15:58:27 UTC] Found 2 teachers
[29-Sep-2026 15:58:27 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 15:58:37 UTC] Request method: GET
[29-Sep-2026 15:58:37 UTC] POST data: Array
(
)

[29-Sep-2026 15:58:37 UTC] Current school_id: 3
[29-Sep-2026 15:58:37 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 15:58:37 UTC] SESSION current_school_id: 3
[29-Sep-2026 15:58:37 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 15:58:37 UTC] Found 6 classes
[29-Sep-2026 15:58:37 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 15:58:37 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 15:58:37 UTC] Found 2 teachers
[29-Sep-2026 15:58:37 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 16:42:45 UTC] Request method: GET
[29-Sep-2026 16:42:45 UTC] POST data: Array
(
)

[29-Sep-2026 16:42:45 UTC] Current school_id: 3
[29-Sep-2026 16:42:45 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 16:42:45 UTC] SESSION current_school_id: 3
[29-Sep-2026 16:42:45 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 16:42:45 UTC] Found 6 classes
[29-Sep-2026 16:42:45 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 16:42:45 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 16:42:45 UTC] Found 2 teachers
[29-Sep-2026 16:42:45 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[29-Sep-2026 16:51:05 UTC] Request method: GET
[29-Sep-2026 16:51:05 UTC] POST data: Array
(
)

[29-Sep-2026 16:51:05 UTC] Current school_id: 3
[29-Sep-2026 16:51:05 UTC] GET parameters: Array
(
    [school_id] => 3
)

[29-Sep-2026 16:51:05 UTC] SESSION current_school_id: 3
[29-Sep-2026 16:51:05 UTC] Fetching classes with filter: WHERE school_id = 3
[29-Sep-2026 16:51:05 UTC] Found 6 classes
[29-Sep-2026 16:51:05 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[29-Sep-2026 16:51:05 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[29-Sep-2026 16:51:05 UTC] Found 2 teachers
[29-Sep-2026 16:51:05 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[30-Sep-2026 03:02:58 UTC] Request method: GET
[30-Sep-2026 03:02:58 UTC] POST data: Array
(
)

[30-Sep-2026 03:02:58 UTC] Current school_id: 4
[30-Sep-2026 03:02:58 UTC] GET parameters: Array
(
    [school_id] => 4
)

[30-Sep-2026 03:02:58 UTC] SESSION current_school_id: 4
[30-Sep-2026 03:02:58 UTC] Fetching classes with filter: WHERE school_id = 4
[30-Sep-2026 03:02:58 UTC] Found 0 classes
[30-Sep-2026 03:02:58 UTC] Classes data: Array
(
)

[30-Sep-2026 03:02:58 UTC] Fetching teachers with filter: WHERE school_id = 4 AND role='teacher'
[30-Sep-2026 03:02:58 UTC] Found 0 teachers
[30-Sep-2026 03:02:58 UTC] Class teachers data: Array
(
)

[30-Sep-2026 03:03:13 UTC] Request method: POST
[30-Sep-2026 03:03:13 UTC] POST data: Array
(
    [action] => add_class
    [school_id] => 4
    [name] => Class 7
)

[30-Sep-2026 03:03:13 UTC] Current school_id: 4
[30-Sep-2026 03:03:13 UTC] GET parameters: Array
(
    [school_id] => 4
)

[30-Sep-2026 03:03:13 UTC] SESSION current_school_id: 4
[30-Sep-2026 03:03:13 UTC] Class add/update - School ID: 4, Name: Class 7, Action: add_class
[30-Sep-2026 03:03:13 UTC] Adding class - Position: 1, School ID: 4
[30-Sep-2026 03:03:13 UTC] Class added successfully: Class 7
[30-Sep-2026 03:03:13 UTC] Request method: GET
[30-Sep-2026 03:03:13 UTC] POST data: Array
(
)

[30-Sep-2026 03:03:13 UTC] Current school_id: 4
[30-Sep-2026 03:03:13 UTC] GET parameters: Array
(
    [school_id] => 4
    [success] => added
)

[30-Sep-2026 03:03:13 UTC] SESSION current_school_id: 4
[30-Sep-2026 03:03:13 UTC] Fetching classes with filter: WHERE school_id = 4
[30-Sep-2026 03:03:13 UTC] Found 1 classes
[30-Sep-2026 03:03:13 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 41
            [name] => Class 7
            [position] => 1
            [background_logo] => 
        )

)

[30-Sep-2026 03:03:13 UTC] Fetching teachers with filter: WHERE school_id = 4 AND role='teacher'
[30-Sep-2026 03:03:13 UTC] Found 0 teachers
[30-Sep-2026 03:03:13 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 41
            [class_name] => Class 7
            [position] => 1
            [teacher_name] => 
        )

)

[30-Sep-2026 03:04:57 UTC] Bulk import: class_id=41, school_id=4, class_name=Class 7, total_students=1
[30-Sep-2026 03:04:57 UTC] PHP Deprecated:  strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in /home2/khuzdart/public_html/att/admin/students.php on line 794
[30-Sep-2026 03:04:57 UTC] Processing student #1: Zohaibullah
[30-Sep-2026 03:04:57 UTC] Imported student #1: Zohaibullah (roll_no: 1)
[30-Sep-2026 03:04:57 UTC] Import complete: total_students=1, imported=1, updated_count=0, errors=0
[30-Sep-2026 03:04:57 UTC] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /home2/khuzdart/public_html/att/admin/students.php on line 1495
[30-Sep-2026 03:11:53 UTC] Request method: GET
[30-Sep-2026 03:11:53 UTC] POST data: Array
(
)

[30-Sep-2026 03:11:53 UTC] Current school_id: 4
[30-Sep-2026 03:11:53 UTC] GET parameters: Array
(
    [school_id] => 4
)

[30-Sep-2026 03:11:53 UTC] SESSION current_school_id: 4
[30-Sep-2026 03:11:53 UTC] Fetching classes with filter: WHERE school_id = 4
[30-Sep-2026 03:11:53 UTC] Found 1 classes
[30-Sep-2026 03:11:53 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 41
            [name] => Class 7
            [position] => 1
            [background_logo] => 
        )

)

[30-Sep-2026 03:11:53 UTC] Fetching teachers with filter: WHERE school_id = 4 AND role='teacher'
[30-Sep-2026 03:11:53 UTC] Found 0 teachers
[30-Sep-2026 03:11:53 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 41
            [class_name] => Class 7
            [position] => 1
            [teacher_name] => 
        )

)

[30-Sep-2026 03:12:10 UTC] Request method: POST
[30-Sep-2026 03:12:10 UTC] POST data: Array
(
    [action] => update_background_logo
    [school_id] => 4
    [class_id] => 41
)

[30-Sep-2026 03:12:10 UTC] Current school_id: 4
[30-Sep-2026 03:12:10 UTC] GET parameters: Array
(
    [school_id] => 4
)

[30-Sep-2026 03:12:10 UTC] SESSION current_school_id: 4
[30-Sep-2026 03:12:10 UTC] Background logo update - Class ID: 41, School ID: 4
[30-Sep-2026 03:12:12 UTC] Background logo uploaded successfully: /att/uploads/class_logos/6abc7e0ab9030_ChatGPT Image Sep 30, 2026, 08_10_54 AM.png
[30-Sep-2026 03:12:12 UTC] Background logo updated successfully for class ID: 41
[30-Sep-2026 03:12:47 UTC] Request method: POST
[30-Sep-2026 03:12:47 UTC] POST data: Array
(
    [action] => update_background_logo
    [school_id] => 4
    [class_id] => 41
)

[30-Sep-2026 03:12:47 UTC] Current school_id: 4
[30-Sep-2026 03:12:47 UTC] GET parameters: Array
(
    [school_id] => 4
)

[30-Sep-2026 03:12:47 UTC] SESSION current_school_id: 4
[30-Sep-2026 03:12:47 UTC] Background logo update - Class ID: 41, School ID: 4
[30-Sep-2026 03:12:48 UTC] Background logo uploaded successfully: /att/uploads/class_logos/6abc7e2f980cf_ChatGPT Image Sep 30, 2026, 08_10_54 AM.png
[30-Sep-2026 03:12:48 UTC] Background logo updated successfully for class ID: 41
[30-Sep-2026 03:12:49 UTC] Request method: GET
[30-Sep-2026 03:12:49 UTC] POST data: Array
(
)

[30-Sep-2026 03:12:49 UTC] Current school_id: 4
[30-Sep-2026 03:12:49 UTC] GET parameters: Array
(
    [school_id] => 4
    [success] => logo_updated
)

[30-Sep-2026 03:12:49 UTC] SESSION current_school_id: 4
[30-Sep-2026 03:12:49 UTC] Fetching classes with filter: WHERE school_id = 4
[30-Sep-2026 03:12:49 UTC] Found 1 classes
[30-Sep-2026 03:12:49 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 41
            [name] => Class 7
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6abc7e2f980cf_ChatGPT Image Sep 30, 2026, 08_10_54 AM.png
        )

)

[30-Sep-2026 03:12:49 UTC] Fetching teachers with filter: WHERE school_id = 4 AND role='teacher'
[30-Sep-2026 03:12:49 UTC] Found 0 teachers
[30-Sep-2026 03:12:49 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 41
            [class_name] => Class 7
            [position] => 1
            [teacher_name] => 
        )

)

[30-Sep-2026 03:50:25 UTC] Request method: GET
[30-Sep-2026 03:50:25 UTC] POST data: Array
(
)

[30-Sep-2026 03:50:25 UTC] Current school_id: 4
[30-Sep-2026 03:50:25 UTC] GET parameters: Array
(
    [school_id] => 4
)

[30-Sep-2026 03:50:25 UTC] SESSION current_school_id: 4
[30-Sep-2026 03:50:25 UTC] Fetching classes with filter: WHERE school_id = 4
[30-Sep-2026 03:50:25 UTC] Found 1 classes
[30-Sep-2026 03:50:25 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 41
            [name] => Class 7
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6abc7e2f980cf_ChatGPT Image Sep 30, 2026, 08_10_54 AM.png
        )

)

[30-Sep-2026 03:50:25 UTC] Fetching teachers with filter: WHERE school_id = 4 AND role='teacher'
[30-Sep-2026 03:50:25 UTC] Found 0 teachers
[30-Sep-2026 03:50:25 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 41
            [class_name] => Class 7
            [position] => 1
            [teacher_name] => 
        )

)

[30-Sep-2026 04:20:31 UTC] Request method: GET
[30-Sep-2026 04:20:31 UTC] POST data: Array
(
)

[30-Sep-2026 04:20:31 UTC] Current school_id: 4
[30-Sep-2026 04:20:31 UTC] GET parameters: Array
(
    [school_id] => 4
)

[30-Sep-2026 04:20:31 UTC] SESSION current_school_id: 4
[30-Sep-2026 04:20:31 UTC] Fetching classes with filter: WHERE school_id = 4
[30-Sep-2026 04:20:31 UTC] Found 1 classes
[30-Sep-2026 04:20:31 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 41
            [name] => Class 7
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6abc7e2f980cf_ChatGPT Image Sep 30, 2026, 08_10_54 AM.png
        )

)

[30-Sep-2026 04:20:31 UTC] Fetching teachers with filter: WHERE school_id = 4 AND role='teacher'
[30-Sep-2026 04:20:31 UTC] Found 0 teachers
[30-Sep-2026 04:20:31 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 41
            [class_name] => Class 7
            [position] => 1
            [teacher_name] => 
        )

)

[30-Sep-2026 12:44:16 UTC] Request method: GET
[30-Sep-2026 12:44:16 UTC] POST data: Array
(
)

[30-Sep-2026 12:44:16 UTC] Current school_id: 3
[30-Sep-2026 12:44:16 UTC] GET parameters: Array
(
    [school_id] => 3
)

[30-Sep-2026 12:44:16 UTC] SESSION current_school_id: 3
[30-Sep-2026 12:44:16 UTC] Fetching classes with filter: WHERE school_id = 3
[30-Sep-2026 12:44:16 UTC] Found 6 classes
[30-Sep-2026 12:44:16 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[30-Sep-2026 12:44:16 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[30-Sep-2026 12:44:16 UTC] Found 2 teachers
[30-Sep-2026 12:44:16 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[30-Sep-2026 13:39:06 UTC] Request method: GET
[30-Sep-2026 13:39:06 UTC] POST data: Array
(
)

[30-Sep-2026 13:39:06 UTC] Current school_id: 4
[30-Sep-2026 13:39:06 UTC] GET parameters: Array
(
    [school_id] => 4
)

[30-Sep-2026 13:39:06 UTC] SESSION current_school_id: 4
[30-Sep-2026 13:39:06 UTC] Fetching classes with filter: WHERE school_id = 4
[30-Sep-2026 13:39:06 UTC] Found 1 classes
[30-Sep-2026 13:39:06 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 41
            [name] => Class 7
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6abc7e2f980cf_ChatGPT Image Sep 30, 2026, 08_10_54 AM.png
        )

)

[30-Sep-2026 13:39:06 UTC] Fetching teachers with filter: WHERE school_id = 4 AND role='teacher'
[30-Sep-2026 13:39:06 UTC] Found 0 teachers
[30-Sep-2026 13:39:06 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 41
            [class_name] => Class 7
            [position] => 1
            [teacher_name] => 
        )

)

[30-Sep-2026 13:39:53 UTC] Request method: GET
[30-Sep-2026 13:39:53 UTC] POST data: Array
(
)

[30-Sep-2026 13:39:53 UTC] Current school_id: 3
[30-Sep-2026 13:39:53 UTC] GET parameters: Array
(
    [school_id] => 3
)

[30-Sep-2026 13:39:53 UTC] SESSION current_school_id: 3
[30-Sep-2026 13:39:53 UTC] Fetching classes with filter: WHERE school_id = 3
[30-Sep-2026 13:39:53 UTC] Found 6 classes
[30-Sep-2026 13:39:53 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[30-Sep-2026 13:39:53 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[30-Sep-2026 13:39:53 UTC] Found 2 teachers
[30-Sep-2026 13:39:53 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[30-Sep-2026 13:59:11 UTC] Request method: GET
[30-Sep-2026 13:59:11 UTC] POST data: Array
(
)

[30-Sep-2026 13:59:11 UTC] Current school_id: 3
[30-Sep-2026 13:59:11 UTC] GET parameters: Array
(
    [school_id] => 3
)

[30-Sep-2026 13:59:11 UTC] SESSION current_school_id: 3
[30-Sep-2026 13:59:11 UTC] Fetching classes with filter: WHERE school_id = 3
[30-Sep-2026 13:59:11 UTC] Found 6 classes
[30-Sep-2026 13:59:11 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[30-Sep-2026 13:59:11 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[30-Sep-2026 13:59:11 UTC] Found 2 teachers
[30-Sep-2026 13:59:11 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[01-Oct-2026 00:39:48 UTC] Request method: GET
[01-Oct-2026 00:39:48 UTC] POST data: Array
(
)

[01-Oct-2026 00:39:48 UTC] Current school_id: 3
[01-Oct-2026 00:39:48 UTC] GET parameters: Array
(
    [school_id] => 3
)

[01-Oct-2026 00:39:48 UTC] SESSION current_school_id: 3
[01-Oct-2026 00:39:48 UTC] Fetching classes with filter: WHERE school_id = 3
[01-Oct-2026 00:39:48 UTC] Found 6 classes
[01-Oct-2026 00:39:48 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[01-Oct-2026 00:39:48 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[01-Oct-2026 00:39:48 UTC] Found 2 teachers
[01-Oct-2026 00:39:48 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[01-Oct-2026 00:46:54 UTC] Request method: GET
[01-Oct-2026 00:46:54 UTC] POST data: Array
(
)

[01-Oct-2026 00:46:54 UTC] Current school_id: 3
[01-Oct-2026 00:46:54 UTC] GET parameters: Array
(
    [school_id] => 3
)

[01-Oct-2026 00:46:54 UTC] SESSION current_school_id: 3
[01-Oct-2026 00:46:54 UTC] Fetching classes with filter: WHERE school_id = 3
[01-Oct-2026 00:46:54 UTC] Found 6 classes
[01-Oct-2026 00:46:54 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[01-Oct-2026 00:46:54 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[01-Oct-2026 00:46:54 UTC] Found 2 teachers
[01-Oct-2026 00:46:54 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[01-Oct-2026 04:37:27 UTC] Request method: GET
[01-Oct-2026 04:37:27 UTC] POST data: Array
(
)

[01-Oct-2026 04:37:27 UTC] Current school_id: 3
[01-Oct-2026 04:37:27 UTC] GET parameters: Array
(
    [school_id] => 3
)

[01-Oct-2026 04:37:27 UTC] SESSION current_school_id: 3
[01-Oct-2026 04:37:27 UTC] Fetching classes with filter: WHERE school_id = 3
[01-Oct-2026 04:37:27 UTC] Found 6 classes
[01-Oct-2026 04:37:27 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[01-Oct-2026 04:37:27 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[01-Oct-2026 04:37:27 UTC] Found 2 teachers
[01-Oct-2026 04:37:27 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[02-Oct-2026 15:52:55 UTC] Request method: GET
[02-Oct-2026 15:52:55 UTC] POST data: Array
(
)

[02-Oct-2026 15:52:55 UTC] Current school_id: 3
[02-Oct-2026 15:52:55 UTC] GET parameters: Array
(
    [school_id] => 3
)

[02-Oct-2026 15:52:55 UTC] SESSION current_school_id: 3
[02-Oct-2026 15:52:55 UTC] Fetching classes with filter: WHERE school_id = 3
[02-Oct-2026 15:52:55 UTC] Found 6 classes
[02-Oct-2026 15:52:55 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[02-Oct-2026 15:52:55 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[02-Oct-2026 15:52:55 UTC] Found 2 teachers
[02-Oct-2026 15:52:55 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[02-Oct-2026 15:57:40 UTC] Request method: GET
[02-Oct-2026 15:57:40 UTC] POST data: Array
(
)

[02-Oct-2026 15:57:40 UTC] Current school_id: 3
[02-Oct-2026 15:57:40 UTC] GET parameters: Array
(
    [school_id] => 3
)

[02-Oct-2026 15:57:40 UTC] SESSION current_school_id: 3
[02-Oct-2026 15:57:40 UTC] Fetching classes with filter: WHERE school_id = 3
[02-Oct-2026 15:57:40 UTC] Found 6 classes
[02-Oct-2026 15:57:40 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[02-Oct-2026 15:57:40 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[02-Oct-2026 15:57:40 UTC] Found 2 teachers
[02-Oct-2026 15:57:40 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[02-Oct-2026 15:59:03 UTC] Request method: GET
[02-Oct-2026 15:59:03 UTC] POST data: Array
(
)

[02-Oct-2026 15:59:03 UTC] Current school_id: 3
[02-Oct-2026 15:59:03 UTC] GET parameters: Array
(
    [school_id] => 3
)

[02-Oct-2026 15:59:03 UTC] SESSION current_school_id: 3
[02-Oct-2026 15:59:03 UTC] Fetching classes with filter: WHERE school_id = 3
[02-Oct-2026 15:59:03 UTC] Found 6 classes
[02-Oct-2026 15:59:03 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[02-Oct-2026 15:59:03 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[02-Oct-2026 15:59:03 UTC] Found 2 teachers
[02-Oct-2026 15:59:03 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[02-Oct-2026 16:00:01 UTC] Request method: GET
[02-Oct-2026 16:00:01 UTC] POST data: Array
(
)

[02-Oct-2026 16:00:01 UTC] Current school_id: 3
[02-Oct-2026 16:00:01 UTC] GET parameters: Array
(
    [school_id] => 3
)

[02-Oct-2026 16:00:01 UTC] SESSION current_school_id: 3
[02-Oct-2026 16:00:01 UTC] Fetching classes with filter: WHERE school_id = 3
[02-Oct-2026 16:00:01 UTC] Found 6 classes
[02-Oct-2026 16:00:01 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[02-Oct-2026 16:00:01 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[02-Oct-2026 16:00:01 UTC] Found 2 teachers
[02-Oct-2026 16:00:01 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[04-Oct-2026 07:48:49 UTC] Request method: GET
[04-Oct-2026 07:48:49 UTC] POST data: Array
(
)

[04-Oct-2026 07:48:49 UTC] Current school_id: 3
[04-Oct-2026 07:48:49 UTC] GET parameters: Array
(
    [school_id] => 3
)

[04-Oct-2026 07:48:49 UTC] SESSION current_school_id: 3
[04-Oct-2026 07:48:49 UTC] Fetching classes with filter: WHERE school_id = 3
[04-Oct-2026 07:48:49 UTC] Found 6 classes
[04-Oct-2026 07:48:49 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[04-Oct-2026 07:48:49 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[04-Oct-2026 07:48:49 UTC] Found 2 teachers
[04-Oct-2026 07:48:49 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[04-Oct-2026 07:50:23 UTC] Request method: GET
[04-Oct-2026 07:50:23 UTC] POST data: Array
(
)

[04-Oct-2026 07:50:23 UTC] Current school_id: 3
[04-Oct-2026 07:50:23 UTC] GET parameters: Array
(
    [school_id] => 3
)

[04-Oct-2026 07:50:23 UTC] SESSION current_school_id: 3
[04-Oct-2026 07:50:23 UTC] Fetching classes with filter: WHERE school_id = 3
[04-Oct-2026 07:50:23 UTC] Found 6 classes
[04-Oct-2026 07:50:23 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => 
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[04-Oct-2026 07:50:23 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[04-Oct-2026 07:50:23 UTC] Found 2 teachers
[04-Oct-2026 07:50:23 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[04-Oct-2026 07:51:07 UTC] Request method: POST
[04-Oct-2026 07:51:07 UTC] POST data: Array
(
    [action] => update_background_logo
    [school_id] => 3
    [class_id] => 30
)

[04-Oct-2026 07:51:07 UTC] Current school_id: 3
[04-Oct-2026 07:51:07 UTC] GET parameters: Array
(
    [school_id] => 3
)

[04-Oct-2026 07:51:07 UTC] SESSION current_school_id: 3
[04-Oct-2026 07:51:07 UTC] Background logo update - Class ID: 30, School ID: 3
[04-Oct-2026 07:51:08 UTC] Background logo uploaded successfully: /att/uploads/class_logos/6ac2056b4aed6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
[04-Oct-2026 07:51:08 UTC] Background logo updated successfully for class ID: 30
[04-Oct-2026 07:51:09 UTC] Request method: GET
[04-Oct-2026 07:51:09 UTC] POST data: Array
(
)

[04-Oct-2026 07:51:09 UTC] Current school_id: 3
[04-Oct-2026 07:51:09 UTC] GET parameters: Array
(
    [school_id] => 3
    [success] => logo_updated
)

[04-Oct-2026 07:51:09 UTC] SESSION current_school_id: 3
[04-Oct-2026 07:51:09 UTC] Fetching classes with filter: WHERE school_id = 3
[04-Oct-2026 07:51:09 UTC] Found 6 classes
[04-Oct-2026 07:51:09 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => /att/uploads/class_logos/6ac2056b4aed6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[04-Oct-2026 07:51:09 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[04-Oct-2026 07:51:09 UTC] Found 2 teachers
[04-Oct-2026 07:51:09 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[04-Oct-2026 07:51:54 UTC] Available terms: [{"id":"6","name":"First Term","academic_year":"2026-27","is_active":"0","created_at":"2026-09-11 22:01:05","updated_at":"2026-09-11 22:01:05"}]
[04-Oct-2026 07:51:54 UTC] No term selected, finding default term
[04-Oct-2026 07:51:54 UTC] Using latest term: term_id=6
[04-Oct-2026 07:52:36 UTC] Request method: GET
[04-Oct-2026 07:52:36 UTC] POST data: Array
(
)

[04-Oct-2026 07:52:36 UTC] Current school_id: 3
[04-Oct-2026 07:52:36 UTC] GET parameters: Array
(
    [school_id] => 3
)

[04-Oct-2026 07:52:36 UTC] SESSION current_school_id: 3
[04-Oct-2026 07:52:36 UTC] Fetching classes with filter: WHERE school_id = 3
[04-Oct-2026 07:52:36 UTC] Found 6 classes
[04-Oct-2026 07:52:36 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => /att/uploads/class_logos/6ac2056b4aed6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => 
        )

)

[04-Oct-2026 07:52:36 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[04-Oct-2026 07:52:36 UTC] Found 2 teachers
[04-Oct-2026 07:52:36 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[04-Oct-2026 07:53:03 UTC] Request method: POST
[04-Oct-2026 07:53:03 UTC] POST data: Array
(
    [action] => update_background_logo
    [school_id] => 3
    [class_id] => 40
)

[04-Oct-2026 07:53:03 UTC] Current school_id: 3
[04-Oct-2026 07:53:03 UTC] GET parameters: Array
(
    [school_id] => 3
)

[04-Oct-2026 07:53:03 UTC] SESSION current_school_id: 3
[04-Oct-2026 07:53:03 UTC] Background logo update - Class ID: 40, School ID: 3
[04-Oct-2026 07:53:04 UTC] Background logo uploaded successfully: /att/uploads/class_logos/6ac205df2842e_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
[04-Oct-2026 07:53:04 UTC] Background logo updated successfully for class ID: 40
[04-Oct-2026 07:53:04 UTC] Request method: GET
[04-Oct-2026 07:53:04 UTC] POST data: Array
(
)

[04-Oct-2026 07:53:04 UTC] Current school_id: 3
[04-Oct-2026 07:53:04 UTC] GET parameters: Array
(
    [school_id] => 3
    [success] => logo_updated
)

[04-Oct-2026 07:53:04 UTC] SESSION current_school_id: 3
[04-Oct-2026 07:53:04 UTC] Fetching classes with filter: WHERE school_id = 3
[04-Oct-2026 07:53:04 UTC] Found 6 classes
[04-Oct-2026 07:53:04 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => /att/uploads/class_logos/6ac2056b4aed6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => 
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => /att/uploads/class_logos/6ac205df2842e_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

)

[04-Oct-2026 07:53:04 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[04-Oct-2026 07:53:04 UTC] Found 2 teachers
[04-Oct-2026 07:53:04 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

[04-Oct-2026 07:53:42 UTC] Request method: POST
[04-Oct-2026 07:53:42 UTC] POST data: Array
(
    [action] => update_background_logo
    [school_id] => 3
    [class_id] => 32
)

[04-Oct-2026 07:53:42 UTC] Current school_id: 3
[04-Oct-2026 07:53:42 UTC] GET parameters: Array
(
    [school_id] => 3
    [success] => logo_updated
)

[04-Oct-2026 07:53:42 UTC] SESSION current_school_id: 3
[04-Oct-2026 07:53:42 UTC] Background logo update - Class ID: 32, School ID: 3
[04-Oct-2026 07:53:43 UTC] Background logo uploaded successfully: /att/uploads/class_logos/6ac2060678580_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
[04-Oct-2026 07:53:43 UTC] Background logo updated successfully for class ID: 32
[04-Oct-2026 07:53:44 UTC] Request method: GET
[04-Oct-2026 07:53:44 UTC] POST data: Array
(
)

[04-Oct-2026 07:53:44 UTC] Current school_id: 3
[04-Oct-2026 07:53:44 UTC] GET parameters: Array
(
    [school_id] => 3
    [success] => logo_updated
)

[04-Oct-2026 07:53:44 UTC] SESSION current_school_id: 3
[04-Oct-2026 07:53:44 UTC] Fetching classes with filter: WHERE school_id = 3
[04-Oct-2026 07:53:44 UTC] Found 6 classes
[04-Oct-2026 07:53:44 UTC] Classes data: Array
(
    [0] => Array
        (
            [id] => 29
            [name] => class 1
            [position] => 1
            [background_logo] => /att/uploads/class_logos/6ab8fb7107cb0_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [1] => Array
        (
            [id] => 30
            [name] => class 2
            [position] => 2
            [background_logo] => /att/uploads/class_logos/6ac2056b4aed6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [2] => Array
        (
            [id] => 32
            [name] => Class 4
            [position] => 4
            [background_logo] => /att/uploads/class_logos/6ac2060678580_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [3] => Array
        (
            [id] => 28
            [name] => Class 5
            [position] => 5
            [background_logo] => /att/uploads/class_logos/6ab73c103b3e6_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

    [4] => Array
        (
            [id] => 34
            [name] => Class 6
            [position] => 6
            [background_logo] => 
        )

    [5] => Array
        (
            [id] => 40
            [name] => Class 3
            [position] => 9
            [background_logo] => /att/uploads/class_logos/6ac205df2842e_ChatGPT Image Sep 26, 2026, 08_13_55 AM.png
        )

)

[04-Oct-2026 07:53:44 UTC] Fetching teachers with filter: WHERE school_id = 3 AND role='teacher'
[04-Oct-2026 07:53:44 UTC] Found 2 teachers
[04-Oct-2026 07:53:44 UTC] Class teachers data: Array
(
    [0] => Array
        (
            [class_id] => 29
            [class_name] => class 1
            [position] => 1
            [teacher_name] => 
        )

    [1] => Array
        (
            [class_id] => 30
            [class_name] => class 2
            [position] => 2
            [teacher_name] => 
        )

    [2] => Array
        (
            [class_id] => 32
            [class_name] => Class 4
            [position] => 4
            [teacher_name] => 
        )

    [3] => Array
        (
            [class_id] => 28
            [class_name] => Class 5
            [position] => 5
            [teacher_name] => Azhar hussain
        )

    [4] => Array
        (
            [class_id] => 34
            [class_name] => Class 6
            [position] => 6
            [teacher_name] => 
        )

    [5] => Array
        (
            [class_id] => 40
            [class_name] => Class 3
            [position] => 9
            [teacher_name] => 
        )

)

