leave_row Array
(
[leave_employee_id] => 20
[leave_date] => 2022-09-05
[leave_type_key] => sick
)
Fatal error: Uncaught mysqli_sql_exception: Unknown column 'leave_employee_id' in 'field list' in /home/sandbox/public_html/payroll/db.class.php:715
Stack trace:
#0 /home/sandbox/public_html/payroll/db.class.php(715): mysqli->query('INSERT INTO `le...')
#1 /home/sandbox/public_html/payroll/db.class.php(224): DB->_run_query()
#2 /home/sandbox/public_html/payroll/db.class.php(45): DB->_insert()
#3 /home/sandbox/public_html/payroll/leave.php(73): DB->__call('insert', Array)
#4 /home/sandbox/public_html/payroll/leave.php(55): Leave->add_data_in_leave_table(Array)
#5 /home/sandbox/public_html/payroll/leave.php(92): Leave->import_csv()
#6 {main}
thrown in /home/sandbox/public_html/payroll/db.class.php on line 715