FAZER

Fatal error: Uncaught PDOException: 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 f1.departamento_atual=1 AND f2.id_status IN (1,7) GROUP BY f1.id' at line 3 in /var/www/html/config/funcoes.php:929 Stack trace: #0 /var/www/html/config/funcoes.php(929): PDO->query('SELECT f1.id FR...') #1 /var/www/html/dashboard_contadores.php(32): dashboardCount(1, '1,7') #2 /var/www/html/atendimento.php(40): include('/var/www/html/d...') #3 {main} thrown in /var/www/html/config/funcoes.php on line 929