Notice: No se ha podido ejecutar la sentencia: SELECT * FROM persona p INNER JOIN persona_categoria pc ON pc.id_persona = p.id_persona INNER JOIN categoria c ON c.id_categoria = pc.id_categoria INNER JOIN tipo_categoria tc ON tc.id_tipo_categoria = c.id_tipo_categoria INNER JOIN persona_fotografia pf ON pf.id_persona = p.id_persona INNER JOIN delegacion_persona dp ON dp.id_persona = p.id_persona WHERE tc.id_tipo_categoria = 1 AND c.id_categoria = 43 AND pc.infante = 0≠wface=0 AND pc.newface = AND p.sexo = 1 AND p.activado = 1 AND pf.activada = 1 in /usr/home/salvadormodels.com/web/script/database.class.php on line 70 SELECT * FROM persona p INNER JOIN persona_categoria pc ON pc.id_persona = p.id_persona INNER JOIN categoria c ON c.id_categoria = pc.id_categoria INNER JOIN tipo_categoria tc ON tc.id_tipo_categoria = c.id_tipo_categoria INNER JOIN persona_fotografia pf ON pf.id_persona = p.id_persona INNER JOIN delegacion_persona dp ON dp.id_persona = p.id_persona WHERE tc.id_tipo_categoria = 1 AND c.id_categoria = 43 AND pc.infante = 0≠wface=0 AND pc.newface = AND p.sexo = 1 AND p.activado = 1 AND pf.activada = 1 AND pf.home = 1 GROUP BY p.id_persona ORDER BY pc.Imp, rand(); Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in /usr/home/salvadormodels.com/web/model/persistencia/persona.bbdd.php on line 749 salvador agency