Notice: Undefined index: customer_id in /vhosts/floralrev.com/htdocs/app/Customer.php on line 82

Fatal error: Uncaught Error: Call to a member function fetch_all() on boolean in /vhosts/floralrev.com/htdocs/core/Database.php:60 Stack trace: #0 /vhosts/floralrev.com/htdocs/app/Customer.php(81): Flowersoft\Database->fetchAll(Array) #1 /vhosts/floralrev.com/htdocs/frontend/controllers/CustomerController.php(42): Flowersoft\App\Customer->getOrderHistory() #2 /vhosts/floralrev.com/htdocs/core/Router.php(31): Flowersoft\Controllers\CustomerController->account() #3 /vhosts/floralrev.com/htdocs/index.php(7): Flowersoft\Router::get('/customer/accou...') #4 {main} thrown in /vhosts/floralrev.com/htdocs/core/Database.php on line 60