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 'GROUP BY use_id ORDER BY RAND() LIMIT 99999999999 ) UNION (SELECT * FROM asm_u' at line 4' in /home/imprezowicz/ftp/imprezowicz2/lib/Zend/Db/Statement/Pdo.php:238
Stack trace:
#0 /home/imprezowicz/ftp/imprezowicz2/lib/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/imprezowicz/ftp/imprezowicz2/lib/Zend/Db/Adapter/Abstract.php(464): Zend_Db_Statement->execute(Array)
#2 /home/imprezowicz/ftp/imprezowicz2/lib/Zend/Db/Adapter/Pdo/Abstract.php(232): Zend_Db_Adapter_Abstract->query('(SELECT * FROM...', Array)
#3 /home/imprezowicz/ftp/imprezowicz2/lib/Asmodai/User/Manager.php(113): Zend_Db_Adapter_Pdo_Abstract->query('(SELECT * FROM...')
#4 /home/imprezowicz/ftp/imprezowicz2/app/modules/default/controllers/UserController.php(598): Asmo in /home/imprezowicz/ftp/imprezowicz2/lib/Zend/Db/Statement/Pdo.php on line 238