A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Experiencias.php

Line Number: 59

Backtrace:

File: /var/www/html/2019/application/modules/experiencias/controllers/Experiencias.php
Line: 59
Function: _error_handler

File: /var/www/html/2019/application/modules/experiencias/controllers/Experiencias.php
Line: 319
Function: categoria

File: /var/www/html/2019/index.php
Line: 304
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Experiencias.php

Line Number: 71

Backtrace:

File: /var/www/html/2019/application/modules/experiencias/controllers/Experiencias.php
Line: 71
Function: _error_handler

File: /var/www/html/2019/application/modules/experiencias/controllers/Experiencias.php
Line: 319
Function: categoria

File: /var/www/html/2019/index.php
Line: 304
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Experiencias.php

Line Number: 72

Backtrace:

File: /var/www/html/2019/application/modules/experiencias/controllers/Experiencias.php
Line: 72
Function: _error_handler

File: /var/www/html/2019/application/modules/experiencias/controllers/Experiencias.php
Line: 319
Function: categoria

File: /var/www/html/2019/index.php
Line: 304
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: models/Filtros_m.php

Line Number: 128

Backtrace:

File: /var/www/html/2019/application/modules/experiencias/models/Filtros_m.php
Line: 128
Function: _error_handler

File: /var/www/html/2019/application/modules/experiencias/controllers/Experiencias.php
Line: 83
Function: getSuburbs

File: /var/www/html/2019/application/modules/experiencias/controllers/Experiencias.php
Line: 319
Function: categoria

File: /var/www/html/2019/index.php
Line: 304
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: models/Filtros_m.php

Line Number: 128

Backtrace:

File: /var/www/html/2019/application/modules/experiencias/models/Filtros_m.php
Line: 128
Function: _error_handler

File: /var/www/html/2019/application/modules/experiencias/controllers/Experiencias.php
Line: 83
Function: getSuburbs

File: /var/www/html/2019/application/modules/experiencias/controllers/Experiencias.php
Line: 319
Function: categoria

File: /var/www/html/2019/index.php
Line: 304
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/2019/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /var/www/html/2019/application/modules/experiencias/models/Filtros_m.php
Line: 132
Function: get

File: /var/www/html/2019/application/modules/experiencias/controllers/Experiencias.php
Line: 83
Function: getSuburbs

File: /var/www/html/2019/application/modules/experiencias/controllers/Experiencias.php
Line: 319
Function: categoria

File: /var/www/html/2019/index.php
Line: 304
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 'OR categoria.id IN (SELECT id FROM categoria WHERE modulo = "empresa" AND `id_c' at line 5

SELECT `empresa`.`id`, `empresa`.`bairro`, `empresa`.`perfil`, `categoria`.`id` AS `id_categoria` FROM empresa JOIN `empresa_categoria` ON `empresa_categoria`.`id_empresa` = `empresa`.`id` JOIN `categoria` ON `categoria`.`id` = `empresa_categoria`.`id_categoria` WHERE (categoria.id = OR categoria.id IN (SELECT id FROM categoria WHERE modulo = "empresa" AND `id_categoria_pai` = )) GROUP BY `empresa`.`bairro` ORDER BY `empresa`.`bairro` ASC

Filename: /var/www/html/2019/modules/experiencias/models/Filtros_m.php

Line Number: 132