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 ') AND (base = "1") ORDER BY `id` asc LIMIT 1' at line 1' in /var/www/vhosts/eclecticaleiloes.com/httpdocs/lib/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /var/www/vhosts/eclecticaleiloes.com/httpdocs/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /var/www/vhosts/eclecticaleiloes.com/httpdocs/lib/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #2 /var/www/vhosts/eclecticaleiloes.com/httpdocs/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #3 /var/www/vhosts/eclecticaleiloes.com/httpdocs/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array) #4 /var/www/vhosts/eclecticaleiloes.com/httpdocs/lib/Zend/Db/Table/Abstract.php(1529): Zend_Db_Adapter_Pdo_Abstra in /var/www/vhosts/eclecticaleiloes.com/httpdocs/lib/Zend/Db/Statement/Pdo.php on line 234