Fatal error: Uncaught mysqli_sql_exception: Unknown column 'day_of_week' in 'WHERE' in /htdocs/includes/functions.php:100
Stack trace:
#0 /htdocs/includes/functions.php(100): mysqli_query(Object(mysqli), 'SELECT COUNT(*)...')
#1 /htdocs/includes/class-golf-reservation-calendar.php(417): db_fetch_one('SELECT COUNT(*)...')
#2 /htdocs/includes/class-golf-reservation-calendar.php(467): Golf_Reservation_Calendar->get_day_status('2025-11-09')
#3 /htdocs/public/reservation.php(474): Golf_Reservation_Calendar->is_day_open('2025-11-09')
#4 {main}
thrown in /htdocs/includes/functions.php on line 100