Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'boatId' cannot be null in /var/www/vhosts/braymarinesales.com/httpdocs/inc/boats-api.php:632
Stack trace:
#0 /var/www/vhosts/braymarinesales.com/httpdocs/inc/boats-api.php(632): PDOStatement->execute(Array)
#1 /var/www/vhosts/braymarinesales.com/httpdocs/boat_details_new.php(32): addViewed(Object(PDO), 'gqt0j8oi2bntc46...', Array)
#2 {main}
thrown in /var/www/vhosts/braymarinesales.com/httpdocs/inc/boats-api.php on line 632