Warning: Undefined array key "quartoId" in /srv/disk5/4342712/www/sistemaprojetado.com/Hotelaria/view/a_reserva/calendario.php on line 3
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 'GROUP BY r.id' at line 9 in /srv/disk5/4342712/www/sistemaprojetado.com/Hotelaria/model/Reserva.php:275
Stack trace:
#0 /srv/disk5/4342712/www/sistemaprojetado.com/Hotelaria/model/Reserva.php(275): PDOStatement->execute()
#1 /srv/disk5/4342712/www/sistemaprojetado.com/Hotelaria/control/ReservaControl.php(52): Reserva->findQuarto(NULL)
#2 /srv/disk5/4342712/www/sistemaprojetado.com/Hotelaria/view/a_reserva/calendario.php(7): ReservaControl->findQuarto(NULL)
#3 /srv/disk5/4342712/www/sistemaprojetado.com/Hotelaria/view/a_reserva/cadastrar.php(176): include('/srv/disk5/4342...')
#4 {main}
thrown in /srv/disk5/4342712/www/sistemaprojetado.com/Hotelaria/model/Reserva.php on line 275