Notice: Undefined variable: cirlet in /srv/www/itribu/htdocs/elecciones2017/primarias2017/candidato_mcomunal.php on line 85 Notice: Undefined variable: cirnro in /srv/www/itribu/htdocs/elecciones2017/primarias2017/candidato_mcomunal.php on line 85 Notice: Undefined variable: cirnro in /srv/www/itribu/htdocs/elecciones2017/primarias2017/candidato_mcomunal.php on line 100 Notice: Undefined variable: cirlet in /srv/www/itribu/htdocs/elecciones2017/primarias2017/candidato_mcomunal.php on line 100 Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 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 'AND lu.cirlet='' ORDER BY p.numero_sorteo,l.numero_sorteo' at line 13' in /srv/www/itribu/htdocs/elecciones2017/primarias2017/candidato_mcomunal.php:103 Stack trace: #0 /srv/www/itribu/htdocs/elecciones2017/primarias2017/candidato_mcomunal.php(103): PDO->query(' SELECT l.id,l....') #1 {main} thrown in /srv/www/itribu/htdocs/elecciones2017/primarias2017/candidato_mcomunal.php on line 103