i91422

PROIZVODI PROIZVOĐAČA po kategorijama


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 MariaDB server version for the right syntax to use near 'AAND IFNULL(color_id, 0) = IFNULL(p.color_id, 0) AND IFNULL(size_id, 0)' at line 52' in /home/proteini/domains/www2.proteini.si/public_html/web2/include/database/class_database.php:28 Stack trace: #0 /home/proteini/domains/www2.proteini.si/public_html/web2/include/database/class_database.php(28): PDO->query('SELECT *\n\t\t\t\tFR...') #1 /home/proteini/domains/www2.proteini.si/public_html/web2/include/class_api_product.php(1365): web_database->query('SELECT *\n\t\t\t\tFR...') #2 /home/proteini/domains/www2.proteini.si/public_html/web2/moduli/brand/brand.php(108): api_product->get_product_count_and_bestseller('58') #3 /home/proteini/domains/www2.proteini.si/public_html/web2/index.php(107): include('/home/proteini/...') #4 /home/proteini/domains/www2.proteini.si/publ in /home/proteini/domains/www2.proteini.si/public_html/web2/include/database/class_database.php on line 28