Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
Severity: Notice
Message: Undefined variable: sql2
Filename: models/ocio_model.php
Line Number: 125
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 ')' at line 1
select ocio.id,ocio.nombre_es,ocio.nombre_en,direccion,descripcion_es,descripcion_en,fecha_ini,fecha_fin,fecha_cad,ocio.fecha,visible,visible_age,enlace,tipo,contacto,etiqueta,imagen,ocio_tipo.nombre_es as nomtipo_es,ocio_tipo.nombre_en as nomtipo_en from ocio, ocio_tipo where ocio.tipo = ocio_tipo.id and sidebar = 'S' and ()
Filename: /home/arquitecturadebarrio/www/murciaalazar/models/ocio_model.php
Line Number: 127