ERROR /home/ra7756/public_html/system/libs/lib.database.php LINE 381 - mysql_num_fields() expects parameter 1 to be resource, boolean given

SELECT Ideas.id, Ideas.titulo, Ideas.texto, Ideas.slug, Ideas.visitas, Categoria.nombre, Categoria.slug, Usuario.usuario, Usuario.confirmado, Usuario.web, COUNT(Voto.id) AS num_votos, COUNT(Comentario.id) AS num_comentarios FROM `ideas` AS `Ideas` LEFT JOIN `categorias` AS `Categoria` ON `Ideas`.`categoria_id` = `Categoria`.`id` LEFT JOIN `usuarios` AS `Usuario` ON `Ideas`.`usuario_id` = `Usuario`.`id` LEFT JOIN `votos` AS `Voto` ON `Ideas`.`id` = `Voto`.`idea_id` LEFT JOIN `comentarios` AS `Comentario` ON `Ideas`.`id` = `Comentario`.`idea_id` WHERE '1'='1' AND `Ideas`.`aprobado` = 1 AND `Ideas`.`bloqueado` = 0 AND Usuario.confirmado = 1 AND Usuario.bloqueado = 0 AND Categoria.slug = 'alrededor-del-mundo' GROUP BY `Ideas`.`fecha` DESC