A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/front.php

Line Number: 268

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/eej2016/public_html/system/core/Exceptions.php:186)

Filename: core/Common.php

Line Number: 437

Database Error

OcurriĆ³ un Error con la Base de Datos

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 'group by c1.cat_id' at line 1

select c1.*, coalesce(c2.cat_id, NULL) as id_padre, coalesce(c2.cat_nombre, NULL) as nombre_padre, coalesce(c3.cat_id, NULL) as id_subpadre, coalesce(c3.cat_nombre, NULL) as nombre_subpadre from categorias as c1 left join categorias as c2 on (c1.cat_padre=c2.cat_id) left join categorias as c3 on (c2.cat_padre=c3.cat_id) where c1.cat_id = group by c1.cat_id

Filename: /home/eej2016/public_html/models/categorias_model.php

Line Number: 66