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 aValue="YES"
AND aValue = "YES"
GROUP BY a.id
order by nr desc' at line 5' in /home/gubnu/xn--hotellnykping-qmb.se/hotel.class.php:1475
Stack trace:
#0 /home/gubnu/xn--hotellnykping-qmb.se/hotel.class.php(1475): PDO->query('\n\t\tSELECT a.* ,...')
#1 /home/gubnu/xn--hotellnykping-qmb.se/index.php(23): Site->GetAmenities(' where h.sId= a...')
#2 {main}
thrown in /home/gubnu/xn--hotellnykping-qmb.se/hotel.class.php on line 1475