Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND' at line 1 in /home/clotures/public_html/inc/db.class.php:32
Stack trace:
#0 /home/clotures/public_html/inc/db.class.php(32): PDOStatement->execute(Array)
#1 /home/clotures/public_html/en/fencing-products.php(36): DB->query('SELECT * FROM t...')
#2 {main}
thrown in /home/clotures/public_html/inc/db.class.php on line 32