Fatal error: Uncaught exception 'DbException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'p.is_api_on' in 'where clause' [ SELECT DISTINCT product.* FROM product LEFT JOIN product_category procat ON procat.id_product = product.id left join distributor d on d.id = product.id_distributor where d.is_active = 1 AND product.is_active = 1 AND p.is_api_on = 1 AND procat.id_category IN (256) AND is_sold_out IS NULL AND is_po IS NULL AND show_date <= now() ORDER BY input_date DESC, input_time DESC LIMIT 0, 30 ]' in /var/www/html/v1/inc/db/DbObject.php:812 Stack trace: #0 /var/www/html/v1/inc/db/DbObject.php(735): DbObject::dbExecute('\r\n\t\t\tSELECT DIS...', NULL) #1 /var/www/html/v1/models/Product.php(37): DbObject->_sqlQuery('\r\n\t\t\tSELECT DIS...', NULL) #2 /var/www/html/v1/product_category.php(151): Product::sqlQuery('\r\n\t\t\tSELECT DIS...') #3 {main} thrown in /var/www/html/v1/inc/db/DbObject.php on line 812