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 'LIMIT 1' at line 1' in /www/wwwroot/linkfair/app/lib/mysql.php:71
Stack trace:
#0 /www/wwwroot/linkfair/app/lib/mysql.php(71): PDO->prepare('SELECT * FROM t...')
#1 /www/wwwroot/linkfair/app/lib/mysql.php(81): Mysql->query_result('SELECT * FROM t...', NULL)
#2 /www/wwwroot/linkfair/app/model/model.php(13): Mysql->queryrow('SELECT * FROM t...', NULL)
#3 /www/wwwroot/linkfair/app/controller/gada_controller.php(191): Model->get('types', 'id=')
#4 [internal function]: GadaController->news_detail('2644')
#5 /www/wwwroot/linkfair/app/controller/controller.php(256): call_user_func_array(Array, Array)
#6 /www/wwwroot/linkfair/app/controller/controller.php(226): Controller->run('GadaController-...', Array)
#7 /www/wwwroot/linkfair/app/route.php(7): Controller->dispatch('/news_detail/ in /www/wwwroot/linkfair/app/lib/mysql.php on line 71