Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Cursos.php
Line Number: 31
Backtrace:
File: /home/tqd/public_html/application/controllers/Cursos.php
Line: 31
Function: _error_handler
File: /home/tqd/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/tqd/public_html/system/core/Exceptions.php:272)
Filename: core/Common.php
Line Number: 573
Backtrace:
File: /home/tqd/public_html/application/models/Cadastros_model.php
Line: 32
Function: query
File: /home/tqd/public_html/application/controllers/Cursos.php
Line: 31
Function: getQtdePedidosByCurso
File: /home/tqd/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 '&& status!=3' at line 3
SELECT * FROM cadastros_cursos WHERE id_curso = && status!=3
Filename: models/Cadastros_model.php
Line Number: 32