Warning: Missing argument 1 for Products::display(), called in /ogrodzenia/libs/Bootstrap.php on line 31 and defined in /ogrodzenia/controllers/products.php on line 5

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND is_deleted=0' at line 1' in /ogrodzenia/libs/Model.php:75 Stack trace: #0 /ogrodzenia/libs/Model.php(75): PDO->query('SELECT * FROM P...') #1 /ogrodzenia/models/products.php(10): Model->select('PRODUCT', '*', 'id_product= AND...') #2 /ogrodzenia/views/products.php(7): ProductsModel->getProduct(NULL) #3 /ogrodzenia/controllers/products.php(7): ProductsView->index(NULL) #4 /ogrodzenia/libs/Bootstrap.php(31): Products->display() #5 /ogrodzenia/index.php(12): Bootstrap->__construct() #6 {main} thrown in /ogrodzenia/libs/Model.php on line 75