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), '68uocrd68tj8072...', Array)
#2 {main}
thrown in /var/www/vhosts/braymarinesales.com/httpdocs/inc/boats-api.php on line 632