Fatal error: Uncaught mysqli_sql_exception: 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 '' at line 10 in /home/wdna/html/includes/front.class.php:1284
Stack trace:
#0 /home/wdna/html/includes/front.class.php(1284): mysqli_query()
#1 /home/wdna/html/ajuntament/eleccionsLocals.php(17): Front->getInfoRegidors()
#2 {main}
thrown in /home/wdna/html/includes/front.class.php on line 1284