Fatal error: Uncaught mysqli_sql_exception: 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 'order by 1 limit 1' at line 1 in /data/nas/web/web/spaf030/static/jext/php/class/db.class.php:74
Stack trace:
#0 /data/nas/web/web/spaf030/static/jext/php/class/db.class.php(74): mysqli_query()
#1 /data/nas/web/web/spaf030/static/jext/php/class/db.class.php(269): db::query()
#2 /data/nas/web/web/spaf030/themes/default/blog-detail.php(12): db::get_one()
#3 /data/nas/web/web/spaf030/inc/system/index.class.php(75): include('...')
#4 /data/nas/web/web/spaf030/inc/system/index.class.php(53): system\index::html()
#5 /data/nas/web/web/spaf030/inc/system/index.class.php(13): system\index::make()
#6 /data/nas/web/web/spaf030/index.php(88): system\index::init()
#7 {main}
thrown in /data/nas/web/web/spaf030/static/jext/php/class/db.class.php on line 74