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 MariaDB server version for the right syntax to use near 'WHERE 1=1 GROUP BY r.id having nb_pharma >= 1 ORDER BY nb_pharma desc LIMIT 20' at line 1 in /home/annuaire-gratuit.ma/public_html/controllers/PharmacyController.php:683
Stack trace:
#0 /home/annuaire-gratuit.ma/public_html/controllers/PharmacyController.php(683): PDO->query()
#1 /home/annuaire-gratuit.ma/public_html/core/FrontController.php(230): PharmacyController->indexAction()
#2 /home/annuaire-gratuit.ma/public_html/index.php(24): FrontController->dispatch()
#3 {main}
thrown in /home/annuaire-gratuit.ma/public_html/controllers/PharmacyController.php on line 683