[03-Jun-2026 09:39:03 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/swgranit/public_html/app/api/finance.php:370
Stack trace:
#0 /home/swgranit/public_html/app/api/finance.php(370): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/finance.php on line 370
[03-Jun-2026 09:39:18 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/swgranit/public_html/app/api/finance.php:370
Stack trace:
#0 /home/swgranit/public_html/app/api/finance.php(370): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/finance.php on line 370
[03-Jun-2026 09:39:45 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/swgranit/public_html/app/api/finance.php:370
Stack trace:
#0 /home/swgranit/public_html/app/api/finance.php(370): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/finance.php on line 370
[03-Jun-2026 09:41:58 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/swgranit/public_html/app/api/finance.php:370
Stack trace:
#0 /home/swgranit/public_html/app/api/finance.php(370): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/finance.php on line 370
[03-Jun-2026 09:43:50 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/swgranit/public_html/app/api/finance.php:370
Stack trace:
#0 /home/swgranit/public_html/app/api/finance.php(370): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/finance.php on line 370
[03-Jun-2026 09:47:50 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/swgranit/public_html/app/api/finance.php:370
Stack trace:
#0 /home/swgranit/public_html/app/api/finance.php(370): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/finance.php on line 370
[03-Jun-2026 09:48:37 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/swgranit/public_html/app/api/finance.php:370
Stack trace:
#0 /home/swgranit/public_html/app/api/finance.php(370): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/finance.php on line 370
[03-Jun-2026 10:23:02 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/swgranit/public_html/app/api/finance.php:370
Stack trace:
#0 /home/swgranit/public_html/app/api/finance.php(370): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/finance.php on line 370
[03-Jun-2026 10:25:19 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/swgranit/public_html/app/api/finance.php:370
Stack trace:
#0 /home/swgranit/public_html/app/api/finance.php(370): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/finance.php on line 370
[03-Jun-2026 10:25:42 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/swgranit/public_html/app/api/finance.php:370
Stack trace:
#0 /home/swgranit/public_html/app/api/finance.php(370): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/finance.php on line 370
[03-Jun-2026 10:25:53 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/swgranit/public_html/app/api/finance.php:370
Stack trace:
#0 /home/swgranit/public_html/app/api/finance.php(370): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/finance.php on line 370
[06-Jun-2026 08:42:21 UTC] PHP Fatal error:  Uncaught ValueError: mysqli_stmt::bind_param(): Argument #1 ($types) cannot be empty in /home/swgranit/public_html/app/api/raw_material_products.php:76
Stack trace:
#0 /home/swgranit/public_html/app/api/raw_material_products.php(76): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/raw_material_products.php on line 76
[06-Jun-2026 08:42:22 UTC] PHP Fatal error:  Uncaught ValueError: mysqli_stmt::bind_param(): Argument #1 ($types) cannot be empty in /home/swgranit/public_html/app/api/raw_material_products.php:76
Stack trace:
#0 /home/swgranit/public_html/app/api/raw_material_products.php(76): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/raw_material_products.php on line 76
[06-Jun-2026 08:42:42 UTC] PHP Fatal error:  Uncaught ValueError: mysqli_stmt::bind_param(): Argument #1 ($types) cannot be empty in /home/swgranit/public_html/app/api/raw_material_products.php:76
Stack trace:
#0 /home/swgranit/public_html/app/api/raw_material_products.php(76): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/raw_material_products.php on line 76
[06-Jun-2026 08:42:43 UTC] PHP Fatal error:  Uncaught ValueError: mysqli_stmt::bind_param(): Argument #1 ($types) cannot be empty in /home/swgranit/public_html/app/api/raw_material_products.php:76
Stack trace:
#0 /home/swgranit/public_html/app/api/raw_material_products.php(76): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/raw_material_products.php on line 76
[06-Jun-2026 09:22:01 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 09:22:10 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 09:22:15 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 09:22:47 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 09:35:22 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 09:35:27 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 09:43:51 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 09:44:02 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 09:44:34 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 09:45:38 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 09:47:41 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 09:48:07 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 09:48:38 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 11:08:17 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 11:08:59 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 11:09:12 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 11:09:15 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 11:12:28 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 11:20:08 UTC] PHP Fatal error:  Uncaught ValueError: mysqli_stmt::bind_param(): Argument #1 ($types) cannot be empty in /home/swgranit/public_html/app/api/raw_material_products.php:76
Stack trace:
#0 /home/swgranit/public_html/app/api/raw_material_products.php(76): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/raw_material_products.php on line 76
[06-Jun-2026 11:20:08 UTC] PHP Fatal error:  Uncaught ValueError: mysqli_stmt::bind_param(): Argument #1 ($types) cannot be empty in /home/swgranit/public_html/app/api/raw_material_products.php:76
Stack trace:
#0 /home/swgranit/public_html/app/api/raw_material_products.php(76): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/raw_material_products.php on line 76
[06-Jun-2026 11:21:15 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 11:21:27 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 11:22:01 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[06-Jun-2026 11:22:09 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'r.store_location_id' in 'on clause' in /home/swgranit/public_html/app/api/reports.php:334
Stack trace:
#0 /home/swgranit/public_html/app/api/reports.php(334): mysqli->prepare()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/reports.php on line 334
[10-Jun-2026 04:54:42 UTC] PHP Fatal error:  Uncaught ValueError: mysqli_stmt::bind_param(): Argument #1 ($types) cannot be empty in /home/swgranit/public_html/app/api/raw_material_products.php:76
Stack trace:
#0 /home/swgranit/public_html/app/api/raw_material_products.php(76): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/raw_material_products.php on line 76
[10-Jun-2026 04:54:43 UTC] PHP Fatal error:  Uncaught ValueError: mysqli_stmt::bind_param(): Argument #1 ($types) cannot be empty in /home/swgranit/public_html/app/api/raw_material_products.php:76
Stack trace:
#0 /home/swgranit/public_html/app/api/raw_material_products.php(76): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/raw_material_products.php on line 76
[10-Jun-2026 04:55:07 UTC] PHP Fatal error:  Uncaught ValueError: mysqli_stmt::bind_param(): Argument #1 ($types) cannot be empty in /home/swgranit/public_html/app/api/raw_material_products.php:76
Stack trace:
#0 /home/swgranit/public_html/app/api/raw_material_products.php(76): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/raw_material_products.php on line 76
[10-Jun-2026 04:55:07 UTC] PHP Fatal error:  Uncaught ValueError: mysqli_stmt::bind_param(): Argument #1 ($types) cannot be empty in /home/swgranit/public_html/app/api/raw_material_products.php:76
Stack trace:
#0 /home/swgranit/public_html/app/api/raw_material_products.php(76): mysqli_stmt->bind_param()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/raw_material_products.php on line 76
[11-Jun-2026 10:09:13 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:09:13 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:09:13 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:09:13 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:09:13 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:09:36 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:09:36 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:09:36 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:09:36 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:09:36 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:09:43 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:10:27 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:10:27 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:10:27 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:10:27 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:10:27 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:10:50 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:10:50 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:10:50 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:10:50 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:10:50 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:12:17 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:12:25 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:13:07 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:14:22 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:14:22 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:14:22 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:14:22 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:14:22 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:15:34 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:15:34 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:15:34 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:15:34 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:15:34 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:16:21 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:16:21 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:16:21 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:16:21 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:16:21 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:16:33 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[11-Jun-2026 10:16:38 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS cash_book_transaction_id INT DEFAULT NULL' at line 1 in /home/swgranit/public_html/app/api/petty_cash.php:141
Stack trace:
#0 /home/swgranit/public_html/app/api/petty_cash.php(141): mysqli->query()
#1 /home/swgranit/public_html/app/api/petty_cash.php(210): ensure_petty_cash_schema()
#2 {main}
  thrown in /home/swgranit/public_html/app/api/petty_cash.php on line 141
[17-Jun-2026 07:06:38 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '' for key 'account_heads.account_code' in /home/swgranit/public_html/app/api/account_heads.php:36
Stack trace:
#0 /home/swgranit/public_html/app/api/account_heads.php(36): mysqli_stmt->execute()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/account_heads.php on line 36
[17-Jun-2026 07:16:04 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '' for key 'account_heads.account_code' in /home/swgranit/public_html/app/api/account_heads.php:36
Stack trace:
#0 /home/swgranit/public_html/app/api/account_heads.php(36): mysqli_stmt->execute()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/account_heads.php on line 36
[17-Jun-2026 07:16:16 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Duplicate entry '' for key 'account_heads.account_code' in /home/swgranit/public_html/app/api/account_heads.php:36
Stack trace:
#0 /home/swgranit/public_html/app/api/account_heads.php(36): mysqli_stmt->execute()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/account_heads.php on line 36
[17-Jun-2026 11:03:55 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS transferred_to_cashbook TINYINT(1) NOT NULL DEFAULT 0' at line 1 in /home/swgranit/public_html/app/api/expenditure_transfer.php:13
Stack trace:
#0 /home/swgranit/public_html/app/api/expenditure_transfer.php(13): mysqli->query()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/expenditure_transfer.php on line 13
[17-Jun-2026 11:03:55 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS transferred_to_cashbook TINYINT(1) NOT NULL DEFAULT 0' at line 1 in /home/swgranit/public_html/app/api/expenditure_transfer.php:13
Stack trace:
#0 /home/swgranit/public_html/app/api/expenditure_transfer.php(13): mysqli->query()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/expenditure_transfer.php on line 13
[17-Jun-2026 11:04:34 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS transferred_to_cashbook TINYINT(1) NOT NULL DEFAULT 0' at line 1 in /home/swgranit/public_html/app/api/expenditure_transfer.php:13
Stack trace:
#0 /home/swgranit/public_html/app/api/expenditure_transfer.php(13): mysqli->query()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/expenditure_transfer.php on line 13
[17-Jun-2026 11:04:34 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS transferred_to_cashbook TINYINT(1) NOT NULL DEFAULT 0' at line 1 in /home/swgranit/public_html/app/api/expenditure_transfer.php:13
Stack trace:
#0 /home/swgranit/public_html/app/api/expenditure_transfer.php(13): mysqli->query()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/expenditure_transfer.php on line 13
[17-Jun-2026 11:04:42 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS transferred_to_cashbook TINYINT(1) NOT NULL DEFAULT 0' at line 1 in /home/swgranit/public_html/app/api/expenditure_transfer.php:13
Stack trace:
#0 /home/swgranit/public_html/app/api/expenditure_transfer.php(13): mysqli->query()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/expenditure_transfer.php on line 13
[17-Jun-2026 11:04:42 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS transferred_to_cashbook TINYINT(1) NOT NULL DEFAULT 0' at line 1 in /home/swgranit/public_html/app/api/expenditure_transfer.php:13
Stack trace:
#0 /home/swgranit/public_html/app/api/expenditure_transfer.php(13): mysqli->query()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/expenditure_transfer.php on line 13
[17-Jun-2026 11:05:11 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS transferred_to_cashbook TINYINT(1) NOT NULL DEFAULT 0' at line 1 in /home/swgranit/public_html/app/api/expenditure_transfer.php:13
Stack trace:
#0 /home/swgranit/public_html/app/api/expenditure_transfer.php(13): mysqli->query()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/expenditure_transfer.php on line 13
[17-Jun-2026 11:05:52 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS transferred_to_cashbook TINYINT(1) NOT NULL DEFAULT 0' at line 1 in /home/swgranit/public_html/app/api/expenditure_transfer.php:13
Stack trace:
#0 /home/swgranit/public_html/app/api/expenditure_transfer.php(13): mysqli->query()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/expenditure_transfer.php on line 13
[17-Jun-2026 11:05:53 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS transferred_to_cashbook TINYINT(1) NOT NULL DEFAULT 0' at line 1 in /home/swgranit/public_html/app/api/expenditure_transfer.php:13
Stack trace:
#0 /home/swgranit/public_html/app/api/expenditure_transfer.php(13): mysqli->query()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/expenditure_transfer.php on line 13
[17-Jun-2026 11:06:53 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS transferred_to_cashbook TINYINT(1) NOT NULL DEFAULT 0' at line 1 in /home/swgranit/public_html/app/api/expenditure_transfer.php:13
Stack trace:
#0 /home/swgranit/public_html/app/api/expenditure_transfer.php(13): mysqli->query()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/expenditure_transfer.php on line 13
[17-Jun-2026 11:06:53 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS transferred_to_cashbook TINYINT(1) NOT NULL DEFAULT 0' at line 1 in /home/swgranit/public_html/app/api/expenditure_transfer.php:13
Stack trace:
#0 /home/swgranit/public_html/app/api/expenditure_transfer.php(13): mysqli->query()
#1 {main}
  thrown in /home/swgranit/public_html/app/api/expenditure_transfer.php on line 13
