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 '||)) ORDER BY `cm`.`sold` desc LIMIT 30' at line 4 in /home/www/airforce-shop.sk/www/airforce-shop.sk/libs/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /home/www/airforce-shop.sk/www/airforce-shop.sk/libs/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /home/www/airforce-shop.sk/www/airforce-shop.sk/libs/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#2 /home/www/airforce-shop.sk/www/airforce-shop.sk/libs/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 /home/www/airforce-shop.sk/www/airforce-shop.sk/libs/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `cm`.`id...', Array)
#4 /home/www/airforce-shop.sk/www/airforce-shop.sk/libs/Zend/Db/Adapter/Abstract.php(736): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zen in /home/www/airforce-shop.sk/www/airforce-shop.sk/libs/Zend/Db/Statement/Pdo.php on line 234