Fatal error: Uncaught exception 'Exception' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and a.event_type_id = 1' at line 1' in /home/psfund/module/Application/src/Application/Model/class/sql/QueryExecutor.class.php:26
Stack trace:
#0 /home/psfund/module/Application/src/Application/Model/class/mysql/EventMySqlDAO.class.php(245): QueryExecutor::execute(Object(SqlQuery))
#1 /home/psfund/module/Application/src/Application/Model/class/mysql/ext/EventMySqlExtDAO.class.php(17): EventMySqlDAO->getList(Object(SqlQuery))
#2 /home/psfund/module/Application/src/Application/Controller/EventController.php(94): EventMySqlExtDAO->getNews('a.lang_id=')
#3 /home/psfund/module/Application/view/layout/_footer.phtml(4): Application\Controller\EventController::getNews()
#4 /home/psfund/vendor/zendframework/zendframework/library/Zend/View/Renderer/PhpRenderer.php(501): include('/home/psfund/mo...')
#5 /home/psfund/vendor/zendframework/zendfr in /home/psfund/module/Application/src/Application/Model/class/sql/QueryExecutor.class.php on line 26