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/Welcome.php:1804)

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???2FYx' and `status` = '1' order by id Desc' 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/WelcomeDB.php
Line: 2333
Function: get

File: /home/gatepassnet/public_html/application/controllers/Welcome.php
Line: 1813
Function: getOrderList

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