A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/guadalupegob/public_html/wp-content/themes/dt-the7/header-single.php:14)
Filename: core/Common.php
Line Number: 573
Backtrace:
File: /home/guadalupegob/public_html/tramites/application/models/Datos2019_model.php
Line: 59
Function: query
File: /home/guadalupegob/public_html/tramites/application/controllers/Buscar.php
Line: 29
Function: getTramites
File: /home/guadalupegob/public_html/tramites/index.php
Line: 331
Function: require_once
A Database Error Occurred
Error Number: 1064
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 ') AND s.status = 1 AND t.deleted = 0 AND t.status = 'open' ORDER BY s.nombr' at line 3
SELECT s.nombre as company_name, t.* FROM secretarias s INNER JOIN tramites t ON t.id_secretaria = s.secretaria_id AND () AND s.status = 1 AND t.deleted = 0 AND t.status = 'open' ORDER BY s.nombre, t.title
Filename: models/Datos2019_model.php
Line Number: 59