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 D:\wwwroot\elexcon.com\inc\class\db.class.php:61
Stack trace:
#0 D:\wwwroot\elexcon.com\inc\class\db.class.php(61): mysqli_query(Object(mysqli), 'select * from i...')
#1 D:\wwwroot\elexcon.com\inc\class\db.class.php(141): db::query('select * from i...')
#2 D:\wwwroot\elexcon.com\inc\class\db.class.php(145): db::get_one('info_category', 'CateId = ', '*', 1)
#3 D:\wwwroot\elexcon.com\static\themes\default\news-detail.php(13): db::one('info_category', 'CateId = ')
#4 D:\wwwroot\elexcon.com\inc\class\cache.class.php(68): include('D:\\wwwroot\\elex...')
#5 D:\wwwroot\elexcon.com\inc\class\cache.class.php(52): cache::html('D:\\wwwroot\\elex...')
#6 D:\wwwroot\elexcon.com\static\static\inc\init.php(67): cache::make('D:\\wwwroot\\elex...')
#7 D:\wwwroot\elexcon.com\index.php(23): include('D:\\wwwroot\\elex...')
#8 {main}
thrown in D:\wwwroot\elexcon.com\inc\class\db.class.php on line 61