Uncaught Exception

Database Error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'DHKOQZ LIMIT 15' at line 1

SQL: SELECT db_posts.*, db_posts.views AS views, (db_posts.like_num-db_posts.dislike_num) AS likes, COUNT('db_comments.post') AS comments FROM `db_posts` LEFT JOIN `db_comments` ON (`db_comments`.`post` = `db_posts`.`id`) WHERE `store` = ? AND `db_posts`.`status` = ? GROUP BY `db_posts`.`id` ORDER BY `eepurl`.`com` DHKOQZ LIMIT 15

Origin

system/database/connector.php on line 52

Trace

#0 /home/admin/web/pogromcycen.pl/public_html/system/database/query.php(194): System\Database\Connector->ask('SELECT db_posts...', Array)
#1 /home/admin/web/pogromcycen.pl/public_html/anchor/functions/stores.php(39): System\Database\Query->get(Array)
#2 /home/admin/web/pogromcycen.pl/public_html/themes/default/store.php(77): store_posts()
#3 /home/admin/web/pogromcycen.pl/public_html/system/view.php(87): require('/home/admin/web...')
#4 /home/admin/web/pogromcycen.pl/public_html/system/route.php(160): System\View->render()
#5 /home/admin/web/pogromcycen.pl/public_html/system/router.php(152): System\Route->run()
#6 /home/admin/web/pogromcycen.pl/public_html/system/start.php(46): System\Router->dispatch()
#7 /home/admin/web/pogromcycen.pl/public_html/index.php(16): require('/home/admin/web...')
#8 {main}