A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'source' of non-object

Filename: models/Utilidades_modelo.php

Line Number: 31

Backtrace:

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

File: /home/cousaweb/molinosanjose.com/application/controllers/Productos.php
Line: 13
Function: gettidnodo

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 1

Filename: models/Utilidades_modelo.php

Line Number: 32

Backtrace:

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

File: /home/cousaweb/molinosanjose.com/application/controllers/Productos.php
Line: 13
Function: gettidnodo

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 field_data_field_categoria_prod.entity_id=node.nid' at line 3

SELECT node.nid, node.title ,field_categoria_prod_tid FROM node,field_data_field_categoria_prod WHERE node.nid = and field_data_field_categoria_prod.entity_id=node.nid

Filename: models/Productos_modelo.php

Line Number: 16