Fatal error: Uncaught exception 'Zend_Db_Statement_Exception' 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 MySQL server version for the right syntax to use near ')
AND (tree_lang.language = 'en')
AND (tree.published = 1 AND tree.category = ' at line 8' in /home/sixmgdro/public_html/libs/Zend/Db/Statement/Pdo.php:227
Stack trace:
#0 /home/sixmgdro/public_html/libs/Zend/Db/Statement.php(279): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/sixmgdro/public_html/libs/Zend/Db/Adapter/Abstract.php(396): Zend_Db_Statement->execute(Array)
#2 /home/sixmgdro/public_html/libs/Zend/Db/Adapter/Pdo/Abstract.php(206): Zend_Db_Adapter_Abstract->query('SELECT SQL_CALC...', Array)
#3 /home/sixmgdro/public_html/libs/Zend/Db/Adapter/Abstract.php(603): Zend_Db_Adapter_Pdo_Abstract->query('SELECT SQL_CALC...', Array)
#4 /home/sixmgdro/public_html/libs/api/tree/tree.php(260): Zend_Db_Adapter_Abstract->fetchAll('SELECT SQL_CALC...')
#5 /hom in /home/sixmgdro/public_html/libs/Zend/Db/Statement/Pdo.php on line 227