A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Utilidades_modelo.php

Line Number: 40

Backtrace:

File: /home/cousaweb/molinosanjose.com/application/models/Utilidades_modelo.php
Line: 40
Function: _error_handler

File: /home/cousaweb/molinosanjose.com/application/controllers/Productos.php
Line: 28
Function: gettidtax

File: /home/cousaweb/molinosanjose.com/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 2

Filename: models/Utilidades_modelo.php

Line Number: 41

Backtrace:

File: /home/cousaweb/molinosanjose.com/application/models/Utilidades_modelo.php
Line: 41
Function: _error_handler

File: /home/cousaweb/molinosanjose.com/application/controllers/Productos.php
Line: 28
Function: gettidtax

File: /home/cousaweb/molinosanjose.com/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/cousaweb/molinosanjose.com/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 568

Backtrace:

File: /home/cousaweb/molinosanjose.com/application/models/Productos_modelo.php
Line: 108
Function: query

File: /home/cousaweb/molinosanjose.com/application/controllers/Productos.php
Line: 29
Function: get_by_tid

File: /home/cousaweb/molinosanjose.com/index.php
Line: 292
Function: require_once

Database Error

A Database Error Occurred

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 taxonomy_index.nid=field_data_field_categoria_prod.entity_id group by' at line 5

SELECT node.nid, node.title FROM node,field_data_field_categoria_prod,taxonomy_index WHERE node.type='producto' and field_data_field_categoria_prod.entity_id=node.nid and field_categoria_prod_tid= and taxonomy_index.nid=field_data_field_categoria_prod.entity_id group by node.nid order by taxonomy_index.weight

Filename: models/Productos_modelo.php

Line Number: 108