Warning: Cannot modify header information - headers already sent by (output started at /var/www/teachade/header.php:109) in /var/www/teachade/includes/dbcompat.php on line 27

Fatal error: Uncaught Error: Call to a member function fetch() on null in /var/www/teachade/includes/dbcompat.php:60 Stack trace: #0 /var/www/teachade/includes/api.php(1122): getOne('INSERT INTO car...', Array) #1 /var/www/teachade/store/store_nav.php(47): cart_id() #2 /var/www/teachade/store/product.php(149): include('/var/www/teacha...') #3 {main} thrown in /var/www/teachade/includes/dbcompat.php on line 60