[01-Jun-2026 03:57:35 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php:72
Stack trace:
#0 /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php(72): mysqli_stmt->bind_param('iisiisiiis', 30, NULL, '2025-07-16', 30, NULL, '2025-07-16', 30, NULL, '2025-07-16', 30, NULL, '2025-07-16')
#1 /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php(159): getCustomerLedgerData(Object(mysqli), Array, '2025-07-16', '2026-07-15')
#2 {main}
  thrown in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php on line 72
[01-Jun-2026 04:02:21 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function formatBS() in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php:186
Stack trace:
#0 /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php(205): getCustomerLedgerData(Object(mysqli), Array, '2025-07-16', '2026-07-15', 7)
#1 {main}
  thrown in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php on line 186
[04-Jun-2026 02:27:25 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'p.unit' in 'SELECT' in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php:25
Stack trace:
#0 /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php(25): mysqli->prepare('SELECT si.*, p....')
#1 {main}
  thrown in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php on line 25
[04-Jun-2026 02:27:32 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'p.unit' in 'SELECT' in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php:25
Stack trace:
#0 /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php(25): mysqli->prepare('SELECT si.*, p....')
#1 {main}
  thrown in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php on line 25
[04-Jun-2026 02:27:35 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'pr.unit' in 'SELECT' in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php:63
Stack trace:
#0 /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php(63): mysqli->prepare('SELECT pi.*, pr...')
#1 {main}
  thrown in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php on line 63
[04-Jun-2026 02:28:05 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'p.unit' in 'SELECT' in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php:25
Stack trace:
#0 /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php(25): mysqli->prepare('SELECT si.*, p....')
#1 {main}
  thrown in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php on line 25
[04-Jun-2026 02:31:36 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'bs_year' in 'SELECT' in /home/nepalionexchange/public_html/accounting/ledger/list_customers.php:21
Stack trace:
#0 /home/nepalionexchange/public_html/accounting/ledger/list_customers.php(21): mysqli->query('SELECT MAX(bs_y...')
#1 {main}
  thrown in /home/nepalionexchange/public_html/accounting/ledger/list_customers.php on line 21
[04-Jun-2026 02:33:25 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'nepalionexchange_accounts.company_settings' doesn't exist in /home/nepalionexchange/public_html/accounting/ledger/list_customers.php:24
Stack trace:
#0 /home/nepalionexchange/public_html/accounting/ledger/list_customers.php(24): mysqli->query('SELECT fiscal_y...')
#1 {main}
  thrown in /home/nepalionexchange/public_html/accounting/ledger/list_customers.php on line 24
[04-Jun-2026 02:38:38 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'p.unit' in 'SELECT' in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php:28
Stack trace:
#0 /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php(28): mysqli->prepare('SELECT si.*, p....')
#1 {main}
  thrown in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php on line 28
[04-Jun-2026 02:39:03 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'pr.unit' in 'SELECT' in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php:66
Stack trace:
#0 /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php(66): mysqli->prepare('SELECT pi.*, pr...')
#1 {main}
  thrown in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php on line 66
[04-Jun-2026 02:45:19 UTC] PHP Warning:  Undefined array key "notes" in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php on line 40
[04-Jun-2026 02:45:19 UTC] PHP Warning:  Undefined array key "total_amount" in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php on line 49
[04-Jun-2026 02:45:48 UTC] PHP Warning:  Undefined array key "notes" in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php on line 40
[04-Jun-2026 02:45:48 UTC] PHP Warning:  Undefined array key "total_amount" in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php on line 49
[04-Jun-2026 02:45:54 UTC] PHP Warning:  Undefined array key "notes" in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php on line 78
[04-Jun-2026 02:45:54 UTC] PHP Warning:  Undefined array key "total_amount" in /home/nepalionexchange/public_html/accounting/ledger/bulk_customer_ledger.php on line 87
[07-Jun-2026 04:58:45 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'is_cancelled' in 'WHERE' in /home/nepalionexchange/public_html/accounting/ledger/list_suppliers.php:83
Stack trace:
#0 /home/nepalionexchange/public_html/accounting/ledger/list_suppliers.php(83): mysqli->prepare('\r\n    SELECT\r\n ...')
#1 {main}
  thrown in /home/nepalionexchange/public_html/accounting/ledger/list_suppliers.php on line 83
[07-Jun-2026 05:00:26 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 's.supplier_type' in 'SELECT' in /home/nepalionexchange/public_html/accounting/ledger/list_suppliers.php:83
Stack trace:
#0 /home/nepalionexchange/public_html/accounting/ledger/list_suppliers.php(83): mysqli->prepare('\r\n    SELECT\r\n ...')
#1 {main}
  thrown in /home/nepalionexchange/public_html/accounting/ledger/list_suppliers.php on line 83
