Severity: Notice
Message: Undefined offset: 0
Filename: controllers/Ficha.php
Line Number: 88
Backtrace:
File: /home/autojusto/public_html/venta-autos-usados/application/controllers/Ficha.php
Line: 88
Function: _error_handler
File: /home/autojusto/public_html/venta-autos-usados/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to get property 'tipo' of non-object
Filename: controllers/Ficha.php
Line Number: 88
Backtrace:
File: /home/autojusto/public_html/venta-autos-usados/application/controllers/Ficha.php
Line: 88
Function: _error_handler
File: /home/autojusto/public_html/venta-autos-usados/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/autojusto/public_html/venta-autos-usados/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 564
Backtrace:
File: /home/autojusto/public_html/venta-autos-usados/application/models/Modelo.php
Line: 999
Function: query
File: /home/autojusto/public_html/venta-autos-usados/application/controllers/Ficha.php
Line: 93
Function: carruselCategoria
File: /home/autojusto/public_html/venta-autos-usados/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 ') AND ao_vehiculos.estado IN (2,3) AND ' at line 19
SELECT ao_vehiculos.id, ao_vehiculos.marca, ao_vehiculos.modelo, ao_fotos_vehiculos.patente, ao_fotos_vehiculos.nombre as foto, ao_fotos_vehiculos.orden, ao_vehiculos.version, ao_vehiculos.precio, ao_vehiculos.bono, ao_vehiculos.oferta, ao_vehiculos.texto, sucursales.nombre as dire FROM ao_vehiculos INNER JOIN ao_fotos_vehiculos ON (ao_vehiculos.id = ao_fotos_vehiculos.vehiculo) INNER JOIN sucursales ON (ao_vehiculos.sucursal = sucursales.id) WHERE ao_vehiculos.tipo IN () AND ao_vehiculos.estado IN (2,3) AND ao_fotos_vehiculos.orden = 1 AND ao_vehiculos.id <> 1323 ORDER BY RAND()
Filename: models/Modelo.php
Line Number: 999