A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/gatepassnet/public_html/application/controllers/Gatepass.php:4757)

Filename: core/Common.php

Line Number: 564

Backtrace:

An uncaught Exception was encountered

Type: mysqli_sql_exception

Message: 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 '???A' order by id Asc' at line 3

Filename: /home/gatepassnet/public_html/system/database/drivers/mysqli/mysqli_driver.php

Line Number: 307

Backtrace:

File: /home/gatepassnet/public_html/application/models/GatepassDB.php
Line: 2624
Function: get

File: /home/gatepassnet/public_html/application/views/frontView/viewAttendanceMonth.php
Line: 14
Function: getTotalValuegatepasses

File: /home/gatepassnet/public_html/application/controllers/Gatepass.php
Line: 4857
Function: view

File: /home/gatepassnet/public_html/index.php
Line: 316
Function: require_once