[14-Oct-2025 10:32:17 Asia/Jakarta] === TRANSACTION DETAILS DEBUG ===
[14-Oct-2025 10:32:17 Asia/Jakarta] Transaction ID: 309
[14-Oct-2025 10:32:17 Asia/Jakarta] Total Items: 1
[14-Oct-2025 10:32:17 Asia/Jakarta] Available for Bulk: 0
[14-Oct-2025 10:32:17 Asia/Jakarta] Available Items IDs: []
[14-Oct-2025 10:32:32 Asia/Jakarta] === TRANSACTION DETAILS DEBUG ===
[14-Oct-2025 10:32:32 Asia/Jakarta] Transaction ID: 309
[14-Oct-2025 10:32:32 Asia/Jakarta] Total Items: 1
[14-Oct-2025 10:32:32 Asia/Jakarta] Available for Bulk: 0
[14-Oct-2025 10:32:32 Asia/Jakarta] Available Items IDs: []
[15-Oct-2025 10:10:56 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: Resource temporarily unavailable in /home/pawc5944/public_html/Panel_Color_Surabaya/config/connection.php:8
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Surabaya/config/connection.php(8): mysqli->__construct()
#1 /home/pawc5944/public_html/Panel_Color_Surabaya/it/new_data_it.php(6): require_once('/home/pawc5944/...')
#2 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Surabaya/config/connection.php on line 8
[17-Oct-2025 07:47:21 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: Too many connections in /home/pawc5944/public_html/Panel_Color_Surabaya/config/connection.php:8
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Surabaya/config/connection.php(8): mysqli->__construct()
#1 /home/pawc5944/public_html/Panel_Color_Surabaya/it/change_date.php(6): require_once('/home/pawc5944/...')
#2 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Surabaya/config/connection.php on line 8
[17-Oct-2025 07:47:21 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: Too many connections in /home/pawc5944/public_html/Panel_Color_Surabaya/config/connection.php:8
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Surabaya/config/connection.php(8): mysqli->__construct()
#1 /home/pawc5944/public_html/Panel_Color_Surabaya/it/change_date.php(6): require_once('/home/pawc5944/...')
#2 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Surabaya/config/connection.php on line 8
[17-Oct-2025 09:04:04 Asia/Jakarta] Updated 1 items to overdue status in reservations: Resv/42/25/001
[17-Oct-2025 09:04:07 Asia/Jakarta] === TRANSACTION DETAILS DEBUG ===
[17-Oct-2025 09:04:07 Asia/Jakarta] Transaction ID: 309
[17-Oct-2025 09:04:07 Asia/Jakarta] Total Items: 1
[17-Oct-2025 09:04:07 Asia/Jakarta] Available for Bulk: 0
[17-Oct-2025 09:04:07 Asia/Jakarta] Available Items IDs: []
[17-Oct-2025 09:04:42 Asia/Jakarta] === RETURN ACTION DEBUG (IT USER) ===
[17-Oct-2025 09:04:42 Asia/Jakarta] Item ID: 118
[17-Oct-2025 09:04:42 Asia/Jakarta] Transaction ID: 309
[17-Oct-2025 09:04:42 Asia/Jakarta] Reservation Number: Resv/42/25/001
[17-Oct-2025 09:04:42 Asia/Jakarta] Condition: Baik
[17-Oct-2025 09:04:42 Asia/Jakarta] Transaction Data: {"id":118,"transaction_id":309,"stock_item_id":1,"quantity_requested":1,"quantity_approved":1,"lokasi_asal":"Color Room","lokasi_tujuan":"PTG 6 CONVEYOR","dikembalikan":0,"tanggal_kembali":null,"kondisi_kembali":"Baik","catatan":null,"foto_bukti":null,"foto_pengembalian":null,"status_waktu":"overdue","component_id":1,"color_id":1,"available_quantity":3,"tanggal_transaksi":"2025-10-13 13:25:00","tanggal_pengembalian":"2025-10-14 13:25:00","reservation_number":"Resv\/42\/25\/001"}
[17-Oct-2025 09:04:42 Asia/Jakarta] === RETURN STATUS CALCULATION DEBUG (IT USER) ===
[17-Oct-2025 09:04:42 Asia/Jakarta] Reservation: Resv/42/25/001
[17-Oct-2025 09:04:42 Asia/Jakarta] Current time: 2025-10-17 09:04:42
[17-Oct-2025 09:04:42 Asia/Jakarta] Expected return time: 2025-10-14 13:25:00
[17-Oct-2025 09:04:42 Asia/Jakarta] Tolerance time (+ 15 min): 2025-10-14 13:40:00
[17-Oct-2025 09:04:42 Asia/Jakarta] Status: OVERDUE (current time > tolerance time)
[17-Oct-2025 09:04:42 Asia/Jakarta] Final Status Waktu: overdue
[17-Oct-2025 09:04:42 Asia/Jakarta] === END DEBUG ===
[17-Oct-2025 09:04:42 Asia/Jakarta] === TRANSACTION DETAILS DEBUG ===
[17-Oct-2025 09:04:42 Asia/Jakarta] Transaction ID: 309
[17-Oct-2025 09:04:42 Asia/Jakarta] Total Items: 1
[17-Oct-2025 09:04:42 Asia/Jakarta] Available for Bulk: 0
[17-Oct-2025 09:04:42 Asia/Jakarta] Available Items IDs: []
[17-Oct-2025 09:04:50 Asia/Jakarta] === TRANSACTION DETAILS DEBUG ===
[17-Oct-2025 09:04:50 Asia/Jakarta] Transaction ID: 309
[17-Oct-2025 09:04:50 Asia/Jakarta] Total Items: 1
[17-Oct-2025 09:04:50 Asia/Jakarta] Available for Bulk: 0
[17-Oct-2025 09:04:50 Asia/Jakarta] Available Items IDs: []
[19-Oct-2025 10:00:33 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.buyer_id = ?' at line 1 in /home/pawc5944/public_html/Panel_Color_Surabaya/it/master_list_data.php:489
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Surabaya/it/master_list_data.php(489): mysqli->query()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Surabaya/it/master_list_data.php on line 489
[19-Oct-2025 10:00:40 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.buyer_id = ? AND mcp.collection_id = ?' at line 1 in /home/pawc5944/public_html/Panel_Color_Surabaya/it/master_list_data.php:489
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Surabaya/it/master_list_data.php(489): mysqli->query()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Surabaya/it/master_list_data.php on line 489
[19-Oct-2025 10:00:45 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.buyer_id = ?' at line 1 in /home/pawc5944/public_html/Panel_Color_Surabaya/it/master_list_data.php:489
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Surabaya/it/master_list_data.php(489): mysqli->query()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Surabaya/it/master_list_data.php on line 489
[19-Oct-2025 23:30:44 Asia/Jakarta] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php:245
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php(245): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php on line 245
[19-Oct-2025 23:30:54 Asia/Jakarta] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php:245
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php(245): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php on line 245
[19-Oct-2025 23:44:39 Asia/Jakarta] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php:245
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php(245): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php on line 245
[20-Oct-2025 00:01:21 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''^[0-9]+' at line 6 in /home/pawc5944/public_html/Panel_Color_Semarang/it/get_all_renew_history_it.php:164
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/get_all_renew_history_it.php(164): mysqli->query()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/get_all_renew_history_it.php on line 164
[20-Oct-2025 00:01:37 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''^[0-9]+' at line 6 in /home/pawc5944/public_html/Panel_Color_Semarang/it/get_all_renew_history_it.php:164
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/get_all_renew_history_it.php(164): mysqli->query()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/get_all_renew_history_it.php on line 164
[20-Oct-2025 05:59:08 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.buyer_id = ?' at line 1 in /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php:489
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php(489): mysqli->query()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php on line 489
[20-Oct-2025 05:59:24 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.buyer_id = ?' at line 1 in /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php:489
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php(489): mysqli->query()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php on line 489
[20-Oct-2025 05:59:33 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.buyer_id = ? AND mcp.collection_id = ?' at line 1 in /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php:489
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php(489): mysqli->query()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php on line 489
[20-Oct-2025 05:59:38 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.buyer_id = ?' at line 1 in /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php:489
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php(489): mysqli->query()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php on line 489
[20-Oct-2025 05:59:56 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(mcp.code_color LIKE ? OR mcp.name_color LIKE ?)' at line 1 in /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php:489
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php(489): mysqli->query()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php on line 489
[20-Oct-2025 06:00:00 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(mcp.code_color LIKE ? OR mcp.name_color LIKE ?)' at line 1 in /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php:489
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php(489): mysqli->query()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/master_list_data.php on line 489
[20-Oct-2025 06:30:54 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'csi.qr_code_content' in 'SELECT' in /home/pawc5944/public_html/Panel_Color_Semarang/it/lacak_peminjaman_it.php:277
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/lacak_peminjaman_it.php(277): mysqli->query()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/lacak_peminjaman_it.php on line 277
[20-Oct-2025 06:30:59 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'csi.qr_code_content' in 'SELECT' in /home/pawc5944/public_html/Panel_Color_Semarang/it/lacak_peminjaman_it.php:277
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/lacak_peminjaman_it.php(277): mysqli->query()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/lacak_peminjaman_it.php on line 277
[20-Oct-2025 06:31:24 Asia/Jakarta] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php:245
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php(245): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php on line 245
[20-Oct-2025 06:31:52 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'csi.qr_code_content' in 'SELECT' in /home/pawc5944/public_html/Panel_Color_Semarang/it/lacak_peminjaman_it.php:276
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/lacak_peminjaman_it.php(276): mysqli->query()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/lacak_peminjaman_it.php on line 276
[20-Oct-2025 06:35:29 Asia/Jakarta] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php:245
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php(245): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php on line 245
[20-Oct-2025 06:35:33 Asia/Jakarta] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php:245
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php(245): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php on line 245
[20-Oct-2025 06:36:22 Asia/Jakarta] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php:245
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php(245): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php on line 245
[20-Oct-2025 07:00:15 Asia/Jakarta] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php:245
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php(245): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/process_new_data.php on line 245
[20-Oct-2025 14:50:22 Asia/Jakarta] PHP Fatal error:  Uncaught mysqli_sql_exception: Cannot add or update a child row: a foreign key constraint fails (`pawc5944_panel_semarang`.`collections`, CONSTRAINT `collections_ibfk_1` FOREIGN KEY (`buyer_id`) REFERENCES `buyers` (`id`)) in /home/pawc5944/public_html/Panel_Color_Semarang/it/buyer_collection_it.php:47
Stack trace:
#0 /home/pawc5944/public_html/Panel_Color_Semarang/it/buyer_collection_it.php(47): mysqli_stmt->execute()
#1 {main}
  thrown in /home/pawc5944/public_html/Panel_Color_Semarang/it/buyer_collection_it.php on line 47
