( ! ) 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 MySQL server version for the right syntax to use near 'BY RAND() LIMIT 10' at line 4' in /home/enigme/enigme.ru/html/vendor/zendframework/zendframework1/library/Zend/Db/Statement/Pdo.php on line 235
( ! ) PDOException: 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 'BY RAND() LIMIT 10' at line 4 in /home/enigme/enigme.ru/html/vendor/zendframework/zendframework1/library/Zend/Db/Statement/Pdo.php on line 228
Call Stack
#TimeMemoryFunctionLocation
10.0000233392{main}( ).../main.php:0
20.128117320144include_once( '/home/enigme/enigme.ru/html/content/modules/lux.php' ).../main.php:438
30.128117320752Zend_Db_Adapter_Pdo_Abstract->query( ).../lux.php:50
40.128117320888Zend_Db_Adapter_Abstract->query( ).../Abstract.php:238
50.128217323872Zend_Db_Statement->execute( ).../Abstract.php:480
60.128217323872Zend_Db_Statement_Pdo->_execute( ).../Statement.php:303
70.128217323920execute ( ).../Pdo.php:228
( ! ) 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 MySQL server version for the right syntax to use near 'BY RAND() LIMIT 10' at line 4, query was: SELECT a.id, a.title, a.url, a.price_s, a.img, a.text,b.url AS brend_url,b.title AS brend_title,b.title AS brend_title, b.url AS brend_url FROM m_catalog_data AS a JOIN m_catalog AS b ON b.id=a.id_catalog WHERE a.id_catalog IN (SELECT id FROM m_catalog WHERE is_lux=1) AND a.id_catalog != 95 AND a.id_catalog != 78 AND a.id_catalog != 145 AND a.id_catalog != 487 AND a.id_catalog != 453ORDER BY RAND() LIMIT 10 in /home/enigme/enigme.ru/html/vendor/zendframework/zendframework1/library/Zend/Db/Statement/Pdo.php on line 235
Call Stack
#TimeMemoryFunctionLocation
10.0000233392{main}( ).../main.php:0
20.128117320144include_once( '/home/enigme/enigme.ru/html/content/modules/lux.php' ).../main.php:438
30.128117320752Zend_Db_Adapter_Pdo_Abstract->query( ).../lux.php:50
40.128117320888Zend_Db_Adapter_Abstract->query( ).../Abstract.php:238
50.128217323872Zend_Db_Statement->execute( ).../Abstract.php:480
60.128217323872Zend_Db_Statement_Pdo->_execute( ).../Statement.php:303