Severity: Notice
Message: Trying to get property 'orden_producto' of non-object
Filename: controllers/Webproductos.php
Line Number: 219
Backtrace:
File: /home/superbid/public_html/application/controllers/Webproductos.php
Line: 219
Function: _error_handler
File: /home/superbid/public_html/index.php
Line: 307
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/superbid/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 564
Backtrace:
File: /home/superbid/public_html/application/models/tienda/Tienda_model.php
Line: 21
Function: query
File: /home/superbid/public_html/application/controllers/Webproductos.php
Line: 219
Function: anterior
File: /home/superbid/public_html/index.php
Line: 307
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 'and p.activo = 1 and cp.id_subcategoria = 14 order by p.orden_producto desc limi' at line 1
select * from productos p inner join rel_categorias_productos cp on p.id_producto = cp.id_producto where p.id_producto <> 705 and p.orden_producto < and p.activo = 1 and cp.id_subcategoria = 14 order by p.orden_producto desc limit 1
Filename: models/tienda/Tienda_model.php
Line Number: 21