Warning: Undefined variable $id in /home/qyachtco/public_html/app/views/booking-step-1.php on line 117
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 '' at line 1 in /home/qyachtco/public_html/app/core/functions.php:292
Stack trace:
#0 /home/qyachtco/public_html/app/core/functions.php(292): PDOStatement->execute()
#1 /home/qyachtco/public_html/app/views/booking-step-1.php(117): select_by_id('boats', NULL)
#2 /home/qyachtco/public_html/router.php(64): include_once('/home/qyachtco/...')
#3 /home/qyachtco/public_html/router.php(4): route('/booking-step-1', 'app/views/booki...')
#4 /home/qyachtco/public_html/index.php(109): get('/booking-step-1', 'app/views/booki...')
#5 {main}
thrown in /home/qyachtco/public_html/app/core/functions.php on line 292