ERROR: 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 'ORDER BY ID' at line 1 | #0 /home/sigwm/public_html/ws/classes/dao/DAO.class.php(105): mysqli_query(Object(mysqli), 'SELECT r.DATA_A...') #1 /home/sigwm/public_html/ws/classes/dao/laudos/RctDAO.class.php(185): DAO->getRows('SELECT r.DATA_A...') #2 /home/sigwm/public_html/ws/webservice/laudos/reports/export_rct_bkp.php(44): RctDAO->getById(NULL) #3 {main}

ERROR: 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 ') as NOME_CONSULTOR_RESPONSAVEL FROM CLIENTE cli WHERE cli.ID_CLIENTE =' at line 4 | #0 /home/sigwm/public_html/ws/classes/dao/DAO.class.php(105): mysqli_query(Object(mysqli), 'SELECT cli.*,\n\t...') #1 /home/sigwm/public_html/ws/classes/dao/ClienteDAO.class.php(430): DAO->getRows('SELECT cli.*,\n\t...') #2 /home/sigwm/public_html/ws/webservice/laudos/reports/export_rct_bkp.php(45): ClienteDAO->getById(NULL) #3 {main}

ERROR: 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 '' at line 1 | #0 /home/sigwm/public_html/ws/classes/dao/DAO.class.php(105): mysqli_query(Object(mysqli), 'SELECT * FROM c...') #1 /home/sigwm/public_html/ws/classes/dao/ClienteServicoDAO.class.php(141): DAO->getRows('SELECT * FROM c...') #2 /home/sigwm/public_html/ws/classes/dao/ClienteDAO.class.php(460): ClienteServicoDAO->listByIdClienteAsArray(NULL) #3 /home/sigwm/public_html/ws/webservice/laudos/reports/export_rct_bkp.php(45): ClienteDAO->getById(NULL) #4 {main}

ERROR: 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 '' at line 1 | #0 /home/sigwm/public_html/ws/classes/dao/DAO.class.php(105): mysqli_query(Object(mysqli), 'SELECT * FROM c...') #1 /home/sigwm/public_html/ws/classes/dao/ClienteLaudoDAO.class.php(131): DAO->getRows('SELECT * FROM c...') #2 /home/sigwm/public_html/ws/classes/dao/ClienteDAO.class.php(464): ClienteLaudoDAO->listByIdCliente(NULL) #3 /home/sigwm/public_html/ws/webservice/laudos/reports/export_rct_bkp.php(45): ClienteDAO->getById(NULL) #4 {main}

ERROR: 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 'ORDER BY ID' at line 1 | #0 /home/sigwm/public_html/ws/classes/dao/DAO.class.php(105): mysqli_query(Object(mysqli), 'SELECT * FROM c...') #1 /home/sigwm/public_html/ws/classes/dao/ClienteChillerDAO.class.php(72): DAO->getRows('SELECT * FROM c...') #2 /home/sigwm/public_html/ws/classes/dao/ClienteDAO.class.php(470): ClienteChillerDAO->listByIdCliente(NULL) #3 /home/sigwm/public_html/ws/webservice/laudos/reports/export_rct_bkp.php(45): ClienteDAO->getById(NULL) #4 {main}

ERROR: 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 'ORDER BY id' at line 1 | #0 /home/sigwm/public_html/ws/classes/dao/DAO.class.php(105): mysqli_query(Object(mysqli), 'SELECT * FROM C...') #1 /home/sigwm/public_html/ws/classes/dao/ClienteFaseDAO.class.php(310): DAO->getRows('SELECT * FROM C...') #2 /home/sigwm/public_html/ws/classes/dao/ClienteDAO.class.php(474): ClienteFaseDAO->listByIdCliente(NULL) #3 /home/sigwm/public_html/ws/webservice/laudos/reports/export_rct_bkp.php(45): ClienteDAO->getById(NULL) #4 {main}