Warning: Trying to access array offset on value of type null in /home/eurostill/public_html/controllers/products.php on line 207

Warning: Trying to access array offset on value of type null in /home/eurostill/public_html/controllers/products.php on line 208

Warning: Trying to access array offset on value of type null in /home/eurostill/public_html/controllers/products.php on line 209

Warning: Trying to access array offset on value of type null in /home/eurostill/public_html/controllers/products.php on line 220

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 door_id != 33 ORDER BY door_id ASC ...' at line 6 in /home/eurostill/public_html/libs/Database.php:19 Stack trace: #0 /home/eurostill/public_html/libs/Database.php(19): PDOStatement->execute() #1 /home/eurostill/public_html/util/Cats.php(37): Database->select('\r\n S...') #2 /home/eurostill/public_html/controllers/products.php(220): Cats->getDoorsByCategoryId('33', NULL) #3 /home/eurostill/public_html/libs/Bootstrap.php(132): Products->door('33', 'CLASS-PE') #4 /home/eurostill/public_html/libs/Bootstrap.php(28): Bootstrap->_callControllerMethod() #5 /home/eurostill/public_html/index.php(22): Bootstrap->init() #6 {main} thrown in /home/eurostill/public_html/libs/Database.php on line 19