Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Producto.php
Line Number: 17
Backtrace:
File: /home/hjherrer/public_html/application/controllers/Producto.php
Line: 17
Function: _error_handler
File: /home/hjherrer/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/hjherrer/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 564
Backtrace:
File: /home/hjherrer/public_html/application/models/Genesis_md.php
Line: 207
Function: query
File: /home/hjherrer/public_html/application/controllers/Producto.php
Line: 17
Function: getProductoMarca
File: /home/hjherrer/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 'LIMIT 1' at line 4
SELECT m.id, m.nombre, m.logo FROM productos_marcas pm INNER JOIN marcas m ON pm.marca = m.id WHERE pm.codigo_venta = LIMIT 1
Filename: models/Genesis_md.php
Line Number: 207