Fatal error: Uncaught Zend_Db_Statement_Exception: 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 (status > 0 AND self = 1 AND year = 2024)' at line 1 in /home/cale-colle/usr/library/Zend/Db/Statement/Pdo.php:234
Stack trace:
#0 /home/cale-colle/usr/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute()
#1 /home/cale-colle/usr/library/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute()
#2 /home/cale-colle/usr/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query()
#3 /home/cale-colle/usr/library/Zend/Db/Adapter/Abstract.php(799): Zend_Db_Adapter_Pdo_Abstract->query()
#4 /home/cale-colle/usr/application/modules/builder/models/tables/Calendar.php(202): Zend_Db_Adapter_Abstract->fetchOne()
#5 /home/cale-colle/usr/application/modules/builder/controllers/KarakoreController.php(541): CalendarModel->findRowCountType()
#6 /home in /home/cale-colle/usr/library/Zend/Db/Statement/Pdo.php on line 234