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 'AND staff.staffStatus = 3 LIMIT 1' at line 7 in /var/www/galaxia/ecpv.es/src/html/view/miteam.php:95 Stack trace: #0 /var/www/galaxia/ecpv.es/src/html/view/miteam.php(95): mysqli_query() #1 {main} thrown in /var/www/galaxia/ecpv.es/src/html/view/miteam.php on line 95