Severity: Warning
Message: Trying to access array offset on value of type null
Filename: models/Registro_model.php
Line Number: 9
Backtrace:
File: /home/compensatest/public_html/application/models/Registro_model.php
Line: 9
Function: _error_handler
File: /home/compensatest/public_html/application/controllers/Registro.php
Line: 54
Function: detalles
File: /home/compensatest/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/compensatest/public_html/system/core/Exceptions.php:272)
Filename: core/Common.php
Line Number: 571
Backtrace:
File: /home/compensatest/public_html/application/models/Registro_model.php
Line: 38
Function: query
File: /home/compensatest/public_html/application/controllers/Registro.php
Line: 54
Function: detalles
File: /home/compensatest/public_html/index.php
Line: 315
Function: require_once
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 '' at line 5
SELECT col.zip_id AS id, col.zip_town AS colonia, col.zip_code as cp FROM cat_zipcode AS col INNER JOIN cat_zipcode AS zc oN zc.zip_code = col.zip_code INNER JOIN companies AS c ON c.id_postal_code = zc.zip_id WHERE c.id =
Filename: models/Registro_model.php
Line Number: 38