Severity: Warning
Message: A non-numeric value encountered
Filename: controllers/Novedades.php
Line Number: 116
Backtrace:
File: /home/rodriph/public_html/application/controllers/Novedades.php
Line: 116
Function: _error_handler
File: /home/rodriph/public_html/application/controllers/Novedades.php
Line: 35
Function: paginate
File: /home/rodriph/public_html/index.php
Line: 317
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/rodriph/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /home/rodriph/public_html/application/models/Novedades_model.php
Line: 29
Function: get
File: /home/rodriph/public_html/application/controllers/Novedades.php
Line: 37
Function: get
File: /home/rodriph/public_html/index.php
Line: 317
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 '-4, 4' at line 6
SELECT `nov`.*, `us`.*, `cat`.* FROM `novedades` `nov` LEFT JOIN `usuarios` `us` ON `nov`.`novUsuario` = `us`.`usuId` LEFT JOIN `categorias` `cat` ON `nov`.`novCategoria` = `cat`.`catId` ORDER BY `novFechaAlta` DESC LIMIT -4, 4
Filename: models/Novedades_model.php
Line Number: 29