@@cseshahriar Sir, can you kindly please share with me your current files of this project. The older version I have access to has a lot of deprecated codes in the loop functions.
@@cseshahriar after updating several lines Warning: Undefined array key "rows" in C:\xampp\htdocs\onlinepayrollphp\tcpdf\tcpdf.php on line 16919 Fatal error: Uncaught TypeError: array_push(): Argument #1 ($array) must be of type array, null given in C:\xampp\htdocs\onlinepayrollphp\tcpdf\tcpdf.php:16921 Stack trace: #0 C:\xampp\htdocs\onlinepayrollphp\tcpdf\tcpdf.php(16921): array_push(NULL, 27) #1 C:\xampp\htdocs\onlinepayrollphp\tcpdf\tcpdf.php(17206): TCPDF->getHtmlDomArray('<h2 align="cent...') #2 C:\xampp\htdocs\onlinepayrollphp\admin\payroll_generate.php(84): TCPDF->writeHTML(' \t<h2 al...') #3 {main} thrown in C:\xampp\htdocs\onlinepayrollphp\tcpdf\tcpdf.php on line 16921
it's php project with custom mvc, you can run with lamp, xampp and repository is github.com/cseshahriar/attendance-and-payroll-system, database is github.com/cseshahriar/attendance-and-payroll-system/blob/master/app/models/payrollsys.sql