Fatal error: Uncaught exception 'ActiveRecord\DatabaseException' with message '42000, 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 '1 order by abs(1385,1-`price`) asc limit 0,6' at line 2' in /var/www/cgvictor/data/www/mi8t.ru/public_html/.checkmart/lib/Connection.php:283 Stack trace: #0 /var/www/cgvictor/data/www/mi8t.ru/public_html/.checkmart/lib/Table.php(208): ActiveRecord\Connection->query('SELECT * FROM `...', NULL) #1 /var/www/cgvictor/data/www/mi8t.ru/public_html/.checkmart/lib/Model.php(1480): ActiveRecord\Table->find_by_sql('SELECT * FROM `...', NULL, true) #2 /var/www/cgvictor/data/www/mi8t.ru/public_html/.checkmart/public/offer.php(97): ActiveRecord\Model::find_by_sql('SELECT * FROM `...') #3 /var/www/cgvictor/data/www/mi8t.ru/public_html/.checkmart/index.php(46): include('/var/www/cgvict...') #4 {main} thrown in /var/www/cgvictor/data/www/mi8t.ru/public_html/.checkmart/lib/Connection.php on line 283