A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'source' 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

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and taxonomy_index.nid=field_data_field_categoria_prod.entity_id group...' 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: 104